Re: [PATCH 07/13] Add might_fault_debug_only()

2013-08-14 Thread Michael S. Tsirkin
On Fri, Aug 09, 2013 at 04:04:14PM -0700, Andi Kleen wrote: > 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:

Re: [PATCH 07/13] Add might_fault_debug_only()

2013-08-14 Thread Michael S. Tsirkin
On Fri, Aug 09, 2013 at 04:04:14PM -0700, Andi Kleen wrote: 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

[PATCH 07/13] Add might_fault_debug_only()

2013-08-09 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 07/13] Add might_fault_debug_only()

2013-08-09 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 ---