diff options
author | Vadim Lobanov <vlobanov@speakeasy.net> | 2006-07-14 09:24:01 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-15 06:53:52 +0200 |
commit | 8477b55ba11a49515b26573a90414b718179c908 (patch) | |
tree | 6a7f5f4c48242f071ae86e5a8c947bf905116d5b /arch/um | |
parent | [PATCH] i386 kexec: allow the kexec on panic support to compile on voyager (diff) | |
download | linux-8477b55ba11a49515b26573a90414b718179c908.tar.xz linux-8477b55ba11a49515b26573a90414b718179c908.zip |
[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>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions