Re: [PATCH] x86/preempt: do not clear PREEMPT_NEED_RESCHED on preempt count reset

2016-11-11 Thread Peter Zijlstra
On Mon, Nov 07, 2016 at 02:01:00PM +0100, Martin Schwidefsky wrote: > The per-cpu preempt count of x86 contains two values, the actual preempt > count and the inverted PREEMPT_NEED_RESCHED bit. If a corrupted preempt > count is detected the preempt_count_set function is used to reset the > preempt

Re: [PATCH] x86/preempt: do not clear PREEMPT_NEED_RESCHED on preempt count reset

2016-11-11 Thread Peter Zijlstra
On Mon, Nov 07, 2016 at 02:01:00PM +0100, Martin Schwidefsky wrote: > The per-cpu preempt count of x86 contains two values, the actual preempt > count and the inverted PREEMPT_NEED_RESCHED bit. If a corrupted preempt > count is detected the preempt_count_set function is used to reset the > preempt

[PATCH] x86/preempt: do not clear PREEMPT_NEED_RESCHED on preempt count reset

2016-11-07 Thread Martin Schwidefsky
The per-cpu preempt count of x86 contains two values, the actual preempt count and the inverted PREEMPT_NEED_RESCHED bit. If a corrupted preempt count is detected the preempt_count_set function is used to reset the preempt count. In case the inverted PREEMPT_NEED_RESCHED bit is zero at the time

[PATCH] x86/preempt: do not clear PREEMPT_NEED_RESCHED on preempt count reset

2016-11-07 Thread Martin Schwidefsky
The per-cpu preempt count of x86 contains two values, the actual preempt count and the inverted PREEMPT_NEED_RESCHED bit. If a corrupted preempt count is detected the preempt_count_set function is used to reset the preempt count. In case the inverted PREEMPT_NEED_RESCHED bit is zero at the time