Re: [PATCH 1/2] x86: Cleanup TIF value gaps in shift range
From: H. Peter Anvin
Date: Mon Oct 18 2010 - 16:48:37 EST
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@xxxxxxxxx>
-hpa
--
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/