mirror of https://gitee.com/openkylin/linux.git
8477b55ba1
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> |
||
---|---|---|
.. | ||
Makefile | ||
bitops.c | ||
checksum.S | ||
delay.c | ||
getuser.S | ||
memcpy.c | ||
mmx.c | ||
putuser.S | ||
strstr.c | ||
usercopy.c |