Re: [PATCH] x86: Change thread_info's flag field back to 32 bits

From: Ingo Molnar
Date: Thu Dec 04 2008 - 05:07:02 EST



* Joe Korty <joe.korty@xxxxxxxx> wrote:

> Change x86_64's thread_info 'flags' field back to __u32.
>
> This was changed to 'unsigned long' when the thread_info*.h
> for i386 and x86_64 were merged. Change it back. We can
> do this as only 27 bits of 'flags' are actually used.
>
> This change actually packs down thread_info by 64 bits:
> 32 bits are saved by the smaller flags, and 32 bits are
> saved by the following 'mm_segment_t field' becoming
> naturally 64-bit aligned.
>
> Signed-off-by: Joe Korty <joe.korty@xxxxxxxx>

applied, thanks Joe!

Ingo
--
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/