]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] revert "Optimize sys_times for a single thread process"
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 29 Mar 2006 00:11:19 +0000 (16:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 29 Mar 2006 02:36:43 +0000 (18:36 -0800)
commitf33e4aafb46dc5634a155f77155db14b0abb4a03
treeaad78b130b697c3c4b594483c63a9b1a9c4ed009
parent69e795590b569f09edab59a14ee9b39d34d2e021
[PATCH] revert "Optimize sys_times for a single thread process"

This patch reverts 'CONFIG_SMP && thread_group_empty()' optimization in
sys_times().  The reason is that the next patch breaks memory ordering which
is needed for that optimization.

tasklist_lock in sys_times() will be eliminated completely by further patch.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/exit.c
kernel/sys.c