On Fri, 2009-01-09 at 17:23 +1100, Herbert Xu wrote:Ahh, so something like this ought to fix it I think... Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- diff --git a/mm/memory.c b/mm/memory.c index 7b9db65..a2ed52e 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3079,6 +3079,9 @@ void print_vma_addr(char *prefix, unsigned long ip) #ifdef CONFIG_PROVE_LOCKING void might_fault(void) { + if (get_fs() == KERNEL_DS) + return; + might_sleep(); /* * it would be nicer only to annotate paths which are not under -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Rafael J. Wysocki | [Bug #10493] mips BCM47XX compile error |
| Ingo Molnar | [patch 02/13] syslets: add syslet.h include file, user API/ABI definitions |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrea Arcangeli | [PATCH 00 of 11] mmu notifier #v16 |
git: | |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| Mark Lord | Re: [BUG] New Kernel Bugs |
