Toots for brauner@mastodon.social account

Written by Christian Brauner 🦊🐺 on 2025-01-19 at 20:09

@osandov you already made it to Phoronix.

https://www.phoronix.com/news/Linux-6.14-Faster-kcore-Reads

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2025-01-10 at 15:46

util-linux has merged support for statmount() and listmount() to list mounts:

https://github.com/util-linux/util-linux/pull/3092#event-15865684400

This should be a nice performance improvement.

See https://brauner.io/2024/12/16/list-all-mounts.html for some details on listmount() and statmount().

[#]linux #kernel

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-12-28 at 14:24

I'm organizing the #containers and #kernel devrooms at FOSDEM 2025 with the usual suspects.

containers: https://fosdem.org/2025/schedule/track/containers

kernel: https://fosdem.org/2025/schedule/track/kernel

See you in Brussels!

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-12-16 at 22:24

I've written a post that shows how to list all mounts in all mount namespaces (all mounts on the system) using new apis we added to the #vfs this year.

https://brauner.io/2024/12/16/list-all-mounts.html

[#]kernel #linux #vfs

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-12-14 at 20:28

How do people test 32bit #kernels today? What is an easy way to build a 32bit kernel and userspace?

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-10-03 at 20:38

After searching for quite a while and no clear answer here's a question for the perf bubble. I have a multi-threaded test program and I want a kernel callgraph that shows me the overhead or percentage of each function in the callgraph (aggregated over all threads, I guess). The goal is to identify changes caused by various patches.

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-10-02 at 11:21

The thing I often need the most but don't have is a private test machine with as many cpus as possible so I can do meaningful performance testing. For example, right now I want to test some refcount improvements but I lack a machine with enough cpus to do that which is really annoying.

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-26 at 13:58

Is https://cybersecuritynews.com/critical-unauthenticated-rce-flaw/ kernel or userspace?

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-18 at 09:38

I'm excited for @jann's CONFIG_SLUB_RCU_DEBUG which has just landed. This will make it easier to detect UAF with struct file that relies on SLAB_TYPESAFE_BY_RCU.

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-13 at 17:02

I just realized that I sent 7 pull requests on Friday, 13th to @torvalds. Literally the second I sent the last one.

Should... should I be worried?

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-09 at 14:46

https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2310.pdf

"99) If the member used to read the contents of a union object is not the same as the member last used to store a value in the

object, the appropriate part of the object representation of the value is reinterpreted as an object representation in the new

type as described in 6.2.6 (a process sometimes called "type punning"). This might be a trap representation."

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-09 at 14:38

I think I might've annoyed @arnd already with that question before?

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-09 at 14:38

IOW, if I did:

struct foo meh = {

   .nr_entries = 1234,

   .p = some_array;

   .q = some_other_array;

};

can I rely on that no being undefined behavior. I think C11 guarantees this type punning.

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-09 at 14:37

Basically my questions comes down to whether in an anoymous union like:

struct foo {
        union {
                struct {
                        struct bar b[5]; /* 60 bytes */
                        u32 nr_entries;
                };
                struct {
                        void *p;
                        void *q;
                };
        };
};

I can use nr_entries to index p/q and b.

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-09 at 14:21

Why on earth do they want me to pay CHF 216 for the C standard https://www.iso.org/standard/74528.html

Is there a free version of this? And isn't this weird that a lot of OSS is written in C but the standard is behind a big fat paywall?

I just have question about unions...

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-05 at 08:08

@vbabka sent v4 https://lore.kernel.org/r/20240905-work-kmem_cache_args-v4-0-ed45d5380679@kernel.org allowing NULL to mean "default value".

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-03 at 14:32

I wonder if @vbabka is already starting to regret the kmem_cache_create() refactor. :D

v2 just went out. I hope I don't have him screaming. ;)

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-09-02 at 08:30

How do people deal with non-ASCII characters in To: and Cc: fields in mails they send via git send-email?

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-08-30 at 13:19

Series sent https://lore.kernel.org/r/20240830-vfs-file-f_version-v1-0-6d3e4816aa7b@kernel.org we'll see if that holds up.

=> More informations about this toot | View the thread

Written by Christian Brauner 🦊🐺 on 2024-08-29 at 15:13

I can probably mange to free up another 8 bytes in struct file by killing f_version and moving it into the few filesystems that care about it.

That would give us back 8 bytes for future expansions.

It's a rough draft and lacking commit messages but it should work (famous last words)...

https://github.com/brauner/linux/commits/vfs.file.f_version

[#]linux #kernel

=> More informations about this toot | View the thread

=> This profile with reblog | Go to brauner@mastodon.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109293457126417686
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
370.837593 milliseconds
Gemini-to-HTML Time
4.473207 milliseconds

This content has been proxied by September (ba2dc).