diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-09-27 01:51:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 08:26:20 -0700 |
commit | aafe6c2a2b6bce5a3a4913ce5c07e85ea143144d (patch) | |
tree | 602fefd6b12dad6351bb91661defce0abaf9b24d /include/linux/uaccess.h | |
parent | 66f37509fc7191df468a8d183374f48b13bacb73 (diff) |
[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