aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/spinlocks.txt
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-09-27 04:51:13 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-27 11:26:20 -0400
commitaafe6c2a2b6bce5a3a4913ce5c07e85ea143144d (patch)
tree602fefd6b12dad6351bb91661defce0abaf9b24d /Documentation/spinlocks.txt
parent66f37509fc7191df468a8d183374f48b13bacb73 (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 'Documentation/spinlocks.txt')
0 files changed, 0 insertions, 0 deletions