Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-17 Thread David Miller
From: James Hogan Date: Mon, 17 Dec 2012 09:51:04 + > On 10/12/12 12:55, Geert Uytterhoeven wrote: >> On Mon, Dec 10, 2012 at 11:22 AM, James Hogan wrote: >>> On 08/12/12 03:43, H. Peter Anvin wrote: On 12/05/2012 08:08 AM, James Hogan wrote: > On 64 bit architectures with no

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-17 Thread James Hogan
On 10/12/12 12:55, Geert Uytterhoeven wrote: > On Mon, Dec 10, 2012 at 11:22 AM, James Hogan wrote: >> On 08/12/12 03:43, H. Peter Anvin wrote: >>> On 12/05/2012 08:08 AM, James Hogan wrote: On 64 bit architectures with no efficient unaligned access, taskstats has to add some padding to

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-17 Thread David Miller
From: James Hogan james.ho...@imgtec.com Date: Mon, 17 Dec 2012 09:51:04 + On 10/12/12 12:55, Geert Uytterhoeven wrote: On Mon, Dec 10, 2012 at 11:22 AM, James Hogan james.ho...@imgtec.com wrote: On 08/12/12 03:43, H. Peter Anvin wrote: On 12/05/2012 08:08 AM, James Hogan wrote: On 64

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-17 Thread James Hogan
On 10/12/12 12:55, Geert Uytterhoeven wrote: On Mon, Dec 10, 2012 at 11:22 AM, James Hogan james.ho...@imgtec.com wrote: On 08/12/12 03:43, H. Peter Anvin wrote: On 12/05/2012 08:08 AM, James Hogan wrote: On 64 bit architectures with no efficient unaligned access, taskstats has to add some

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-10 Thread Geert Uytterhoeven
On Mon, Dec 10, 2012 at 11:22 AM, James Hogan wrote: > On 08/12/12 03:43, H. Peter Anvin wrote: >> On 12/05/2012 08:08 AM, James Hogan wrote: >>> On 64 bit architectures with no efficient unaligned access, taskstats >>> has to add some padding to a reply to prevent unaligned access warnings. >>>

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-10 Thread James Hogan
On 08/12/12 03:43, H. Peter Anvin wrote: > On 12/05/2012 08:08 AM, James Hogan wrote: >> On 64 bit architectures with no efficient unaligned access, taskstats >> has to add some padding to a reply to prevent unaligned access warnings. >> However this also needs to apply to 32 bit architectures

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-10 Thread James Hogan
On 08/12/12 03:43, H. Peter Anvin wrote: On 12/05/2012 08:08 AM, James Hogan wrote: On 64 bit architectures with no efficient unaligned access, taskstats has to add some padding to a reply to prevent unaligned access warnings. However this also needs to apply to 32 bit architectures with 64

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-10 Thread Geert Uytterhoeven
On Mon, Dec 10, 2012 at 11:22 AM, James Hogan james.ho...@imgtec.com wrote: On 08/12/12 03:43, H. Peter Anvin wrote: On 12/05/2012 08:08 AM, James Hogan wrote: On 64 bit architectures with no efficient unaligned access, taskstats has to add some padding to a reply to prevent unaligned access

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-07 Thread H. Peter Anvin
On 12/05/2012 08:08 AM, James Hogan wrote: On 64 bit architectures with no efficient unaligned access, taskstats has to add some padding to a reply to prevent unaligned access warnings. However this also needs to apply to 32 bit architectures with 64 bit struct alignment such as metag (which has

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-07 Thread H. Peter Anvin
On 12/05/2012 08:08 AM, James Hogan wrote: On 64 bit architectures with no efficient unaligned access, taskstats has to add some padding to a reply to prevent unaligned access warnings. However this also needs to apply to 32 bit architectures with 64 bit struct alignment such as metag (which has

[PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-05 Thread James Hogan
On 64 bit architectures with no efficient unaligned access, taskstats has to add some padding to a reply to prevent unaligned access warnings. However this also needs to apply to 32 bit architectures with 64 bit struct alignment such as metag (which has 64 bit memory accesses). This is solved by

[PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-05 Thread James Hogan
On 64 bit architectures with no efficient unaligned access, taskstats has to add some padding to a reply to prevent unaligned access warnings. However this also needs to apply to 32 bit architectures with 64 bit struct alignment such as metag (which has 64 bit memory accesses). This is solved by