From: Vadim Lobanov Date: Fri, 14 Jul 2006 07:24:01 +0000 (-0700) Subject: [PATCH] i386: remove redundant might_sleep() in user accessors. X-Git-Tag: v2.6.18-rc2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8477b55ba11a49515b26573a90414b718179c908;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed