[lkml]   [2010]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/7] sysfs: Pack sysfs_dirent more tightly.
On 01/12/2010 05:21 AM, Eric W. Biederman wrote:
> From: Eric W. Biederman <>
> Placing the 16bit s_mode between a pointer and a long doesn't pack well
> especailly on 64bit where we wast 48 bits. So move s_mode and
> declare it as a unsigned short. This is the sysfs backing store
> after all we don't need fields extra large just in case someday
> we want userspace to be able to use a larger value.
> Signed-off-by: Eric W. Biederman <>

Acked-by: Tejun Heo <>


 \ /
  Last update: 2010-01-12 01:43    [W:0.127 / U:9.408 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site