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

From: Eric W. Biederman
Date: Sun Jan 08 2012 - 13:13:15 EST


Greg KH <gregkh@xxxxxxx> writes:

> On Tue, Jan 03, 2012 at 09:43:47PM -0800, Eric W. Biederman wrote:
>> ebiederm@xxxxxxxxxxxx (Eric W. Biederman) writes:
>>
>> > 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.
>>
>> Greg did you see these patches for reducing the sysfs memory size
>> regression in 3.2?
>
> Ok, due to the holidays, these ended up missing the 3.3 merge window,
> I'll queue them up for 3.4.

Thanks.

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/