Re: [PATCH 4/7] x86: Add support for rd/wr fs/gs base

From: Andy Lutomirski
Date: Thu May 01 2014 - 17:53:34 EST


On Thu, May 1, 2014 at 2:51 PM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
>> Allowing userspace to prevent itself from being rescheduled by loading
>> something strange into gsbase seems unfortunate.
>
> The timer tick will eventually catch it, so any delay is tightly
> bounded.
>

What about NO_HZ_FULL?


> Also still gets rescheduled most of the time, just not when a paranoid
> exception handler is running.

If rescheduling on exit from a paranoid exception handler isn't
important, then let's just remove it. Otherwise let's keep it
working.

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