[PATCH 7/8] x86: Remove cond_resched() from uaccess code

2013-08-13 Thread Andi Kleen
From: Andi Kleen As suggested by Linus, remove cond_resched() from the x86 uaccess code. Now we only do might_fault() in debug kernels. This means *_user() is not a reschedule point anymore for CONFIG_PREEMPT_VOLUNTARY, only explicit cond_resched()s are. Even in the debug kernels we should

[PATCH 7/8] x86: Remove cond_resched() from uaccess code

2013-08-13 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com As suggested by Linus, remove cond_resched() from the x86 uaccess code. Now we only do might_fault() in debug kernels. This means *_user() is not a reschedule point anymore for CONFIG_PREEMPT_VOLUNTARY, only explicit cond_resched()s are. Even in the debug