aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/uaccess.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-09-27 01:51:13 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-27 08:26:20 -0700
commitaafe6c2a2b6bce5a3a4913ce5c07e85ea143144d (patch)
tree602fefd6b12dad6351bb91661defce0abaf9b24d /include/linux/uaccess.h
parent[PATCH] fs/nfs/: make code static (diff)
downloadlinux-dev-aafe6c2a2b6bce5a3a4913ce5c07e85ea143144d.tar.xz
linux-dev-aafe6c2a2b6bce5a3a4913ce5c07e85ea143144d.zip
[PATCH] de_thread: Use tsk not current
Ingo Oeser pointed out that because current expands to an inline function it is more space efficient and somewhat faster to simply keep a cached copy of current in another variable. This patch implements that for the de_thread function. (akpm: saves nearly 100 bytes of text on x86) Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/uaccess.h')
0 files changed, 0 insertions, 0 deletions