android_kernel_xiaomi_sm8350/arch/i386/lib
Vadim Lobanov 8477b55ba1 [PATCH] i386: remove redundant might_sleep() in user accessors.
On i386, the user space accessor functions copy_from/to_user() both invoke
might_sleep(), do a quick sanity check, and then pass the work on to their
__copy_from/to_user() counterparts, which again invoke might_sleep().
Given that no actual work happens between these two calls, it is best to
eliminate one of the redundant might_sleep()s.

Signed-off-by: Vadim Lobanov <vlobanov@speakeasy.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-14 21:53:52 -07:00
..
bitops.c
checksum.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
delay.c [PATCH] Time: i386 Conversion - part 3: Enable Generic Timekeeping 2006-06-26 09:58:21 -07:00
getuser.S
Makefile [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
memcpy.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mmx.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
putuser.S
strstr.c
usercopy.c [PATCH] i386: remove redundant might_sleep() in user accessors. 2006-07-14 21:53:52 -07:00