Thread (43 messages) 43 messages, 4 authors, 2024-01-31

Re: [PATCH 5/6] eventfs: get rid of dentry pointers without refcounts

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2024-01-30 22:58:45
Also in: lkml

On Tue, 30 Jan 2024 at 14:55, Steven Rostedt [off-list ref] wrote:
Remember, the files don't have an ei allocated. Only directories.
Crossed emails.
I then counted the length of the string - 7 bytes (which is the same as the
length of the string plus the '\0' character - 8 bytes) to accommodate the
pointer size, and it's a savings of 22KB per instance. And in actuality, I
should have rounded to the nearest kmalloc slab size as kzalloc() isn't going to
return 35 bytes back but 64 bytes will be allocated.
No. See my other email. The kmalloc sizes actually means that it comes
out exactly even.

             Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help