lkml.org 
[lkml]   [2011]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[PATCH 0/4] sysfs: Reduce the size of sysfs_dirent

After throwing rb_trees at the problem sysfs_dirent increased in size by
6 pointers, or 48 bytes. Since the point of having struct
sysfs_dirent is to keep the size down increasing in size that much seems
unfortunate.

The following patches attack this problem and if I have counted right
reduce the size of sysfs_dirent by 4 pointers on 64bit. Not quite
where we were but reducing sysfs_dirent by 32bytes to 104 bytes is
an improvement.

Eric




\
 
 \ /
  Last update: 2011-12-19 05:03    [W:0.080 / U:1.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site