Re: [PATCH 1/2] x86: Cleanup TIF value gaps in shift range

H. Peter Anvin
2010-10-18T20:48:33Z

On 10/18/2010 01:35 PM, Frederic Weisbecker wrote:
> 9, 19 and 26 values are missing from the TIF shift range, probably
> due to flags that were removed by the past. Now repack the range
> so that we can quickly retrieve the remaining free shift slots.
>
> But take care of keeping the seperation between high and low bits
> as some masks are created on top of this boundary.
>

What is the point of this? All it seems is that it would make stupid
debugging mistakes possible because someone looks at the values from the
wrong kernel.

Feel free to put comments in:

/* 9 - unused - was TIF_xxx */

... but I think gratuitous compaction is a really bad idea.

Nacked-by: H. Peter Anvin <hpa@zytor.com>

-hpa