Revision 8477b55ba11a49515b26573a90414b718179c908 authored by Vadim Lobanov on 14 July 2006, 07:24:01 UTC, committed by Linus Torvalds on 15 July 2006, 04:53:52 UTC
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>
1 parent e78a887
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 94 bytes |
Kconfig | -rw-r--r-- | 1.6 KB |
Makefile | -rw-r--r-- | 1.7 KB |
gen_init_cpio.c | -rw-r--r-- | 10.4 KB |
initramfs_data.S | -rw-r--r-- | 1.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...