Re: [PATCH 4/7] preempt: Disable preemption from preempt_schedule*() callers

2015-05-11 Thread Peter Zijlstra
On Mon, May 11, 2015 at 05:08:21PM +0200, Frederic Weisbecker wrote: > Lets gather the preempt operations (set PREEMPT_ACTIVE and disable > preemption) in a single operation. This way we prepare to remove the > preemption disablement in __schedule() in order to omptimize this > duty on the caller.

[PATCH 4/7] preempt: Disable preemption from preempt_schedule*() callers

2015-05-11 Thread Frederic Weisbecker
Lets gather the preempt operations (set PREEMPT_ACTIVE and disable preemption) in a single operation. This way we prepare to remove the preemption disablement in __schedule() in order to omptimize this duty on the caller. Suggested-by: Linus Torvalds Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Thoma