[PATCH] revert "Optimize sys_times for a single thread process"
commit35f5cad8c4bab94ecc5acdc4055df5ea12dc76f8
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 29 Mar 2006 00:11:19 +0000 (28 16:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 29 Mar 2006 02:36:43 +0000 (28 18:36 -0800)
treeaad78b130b697c3c4b594483c63a9b1a9c4ed009
parent6a14c5c9da0b4c34b5be783403c54f0396fcfe77
[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