Re: [PATCH -mm] Taskstats fix the structure members alignment issue

2007-04-21 Thread Balbir Singh
Andrew Morton wrote: On Sat, 21 Apr 2007 18:29:21 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: The patch adds an __attribute__((aligned(8))) to the taskstats structure members so that 32 bit applications using taskstats can work with a 64 bit kernel. But there might be 32-bit applications out

Re: [PATCH -mm] Taskstats fix the structure members alignment issue

2007-04-21 Thread Andrew Morton
On Sat, 21 Apr 2007 18:29:21 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > >> The patch adds an __attribute__((aligned(8))) to the > >> taskstats structure members so that 32 bit applications using taskstats > >> can work with a 64 bit kernel. > > > > But there might be 32-bit applications out

Re: [PATCH -mm] Taskstats fix the structure members alignment issue

2007-04-21 Thread Balbir Singh
Andrew Morton wrote: On Fri, 20 Apr 2007 22:13:41 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: We broke the the alignment of members of taskstats to the 8 byte boundary with the CSA patches. In the current kernel, the taskstats structure is not suitable for use by 32 bit applications in a 64 b

Re: [PATCH -mm] Taskstats fix the structure members alignment issue

2007-04-20 Thread Andrew Morton
On Fri, 20 Apr 2007 22:13:41 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > > We broke the the alignment of members of taskstats to the 8 byte boundary > with the CSA patches. In the current kernel, the taskstats structure is > not suitable for use by 32 bit applications in a 64 bit kernel. >