[PATCH 0/4] sysfs: Reduce the size of sysfs_dirent

From: Eric W. Biederman
Date: Sun Dec 18 2011 - 23:01:47 EST



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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/