Thread (11 messages) 11 messages, 5 authors, 2005-08-18

[PATCH] Put the very large file_ra_state outside of 'struct file'

From: Eric Dumazet <hidden>
Date: 2005-08-18 09:05:39
Also in: lkml

[PATCH]

* struct file cleanup : the very large file_ra_state is now allocated only on demand, using a dedicated "filp_ra_cache" slab.
     machines handling lot of sockets or pipes can save about 80 bytes (or 40 bytes on 32bits platforms) per file.

* private_data : The field is moved close to f_count and f_op fields to speedup sockfd_lookups

Thank you

Signed-off-by: Eric Dumazet <redacted>

Attachments

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