sysfs: Reduce the size of sysfs_dirent
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | sysfs: Add s_hash to sysfs_dirent and order directory entries by hashfs/ fs/ | +120 | 0 replies | |
| 2/4 | sysfs: Reduce s_flags to an unsinged short so it packs well with s_modefs/ | +3 | 0 replies | |
| 3/4 | sysfs: Store the sysfs inode in an unsigned int.fs/ fs/ | +3 | 0 replies | |
| 4/4 | sysfs: Kill nlink counting.fs/ fs/ fs/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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 structsysfs_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