All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] sysfs:  Reduce the size of sysfs_dirent
@ 2011-12-19  4:03 Eric W. Biederman
  2011-12-19  4:05 ` [PATCH 1/4] sysfs: Add s_hash to sysfs_dirent and order directory entries by hash Eric W. Biederman
  2012-01-04  5:43 ` [PATCH 0/4] sysfs: Reduce the size of sysfs_dirent Eric W. Biederman
  0 siblings, 2 replies; 8+ messages in thread
From: Eric W. Biederman @ 2011-12-19  4:03 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-kernel, Tejun Heo, Mikulas Patocka


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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-08 18:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19  4:03 [PATCH 0/4] sysfs: Reduce the size of sysfs_dirent Eric W. Biederman
2011-12-19  4:05 ` [PATCH 1/4] sysfs: Add s_hash to sysfs_dirent and order directory entries by hash Eric W. Biederman
2011-12-19  4:07   ` [PATCH 2/4] sysfs: Reduce s_flags to an unsinged short so it packs well with s_mode Eric W. Biederman
2011-12-19  4:08     ` [PATCH 3/4] sysfs: Store the sysfs inode in an unsigned int Eric W. Biederman
2011-12-19  4:09       ` [PATCH 4/4] sysfs: Kill nlink counting Eric W. Biederman
2012-01-04  5:43 ` [PATCH 0/4] sysfs: Reduce the size of sysfs_dirent Eric W. Biederman
2012-01-08 17:56   ` Greg KH
2012-01-08 18:15     ` Eric W. Biederman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.