Re: Alpha: suspicious compiler warning in entry.S

From: Richard Henderson
Date: Wed Oct 28 2009 - 19:20:46 EST


On 10/28/2009 12:03 AM, Michael Cree wrote:
I am wondering whether it might be better
to rearrange the bits in the thread information flags so that
_TIF_WORK_MASK
has a value less than 255 and the single instruction to perform an and
operation can be maintained.

It would be better to rearrange TIF_NODIFY_RESUME down to 3.

In fact, you might as well rearrange the ones currently occupying
3-7 up to 8 and leave a hole for _TIF_WORK_MASK expansion, and
add a nice comment there at the same time.


r~
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html