]> Pileus Git - ~andy/linux/blobdiff - mm/memory.c
mm, sched: Drop voluntary schedule from might_fault()
[~andy/linux] / mm / memory.c
index 6dc1882fbd725c61badb4fd072418c7330001ce1..c1f190f51f6f2d2ff62a4851e2fd37cbdcaacdc7 100644 (file)
@@ -4222,7 +4222,8 @@ void might_fault(void)
        if (segment_eq(get_fs(), KERNEL_DS))
                return;
 
-       might_sleep();
+       __might_sleep(__FILE__, __LINE__, 0);
+
        /*
         * it would be nicer only to annotate paths which are not under
         * pagefault_disable, however that requires a larger audit and