[PATCH 6/8] Add might_fault_debug_only()

2013-08-13 Thread Andi Kleen
From: Andi Kleen Add a might_fault_debug_only() that only does something in the PROVE_LOCKING case, but does not cond_resched for PREEMPT_VOLUNTARY. This is for cases when the cond_resched is done elsewhere Signed-off-by: Andi Kleen --- include/linux/sched.h | 2 ++ 1 file changed, 2

[PATCH 6/8] Add might_fault_debug_only()

2013-08-13 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Add a might_fault_debug_only() that only does something in the PROVE_LOCKING case, but does not cond_resched for PREEMPT_VOLUNTARY. This is for cases when the cond_resched is done elsewhere Signed-off-by: Andi Kleen a...@linux.intel.com ---