Skip to content
Commit affa219b authored by Joe Korty's avatar Joe Korty Committed by Ingo Molnar
Browse files

x86: change thread_info's flag field back to 32 bits



Impact: pack struct thread_info more tightly

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: default avatarJoe Korty <joe.korty@ccur.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c0515566
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment