commit | 35f5cad8c4bab94ecc5acdc4055df5ea12dc76f8 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Tue Mar 28 16:11:19 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Mar 28 18:36:43 2006 -0800 |
tree | aad78b130b697c3c4b594483c63a9b1a9c4ed009 | |
parent | 6a14c5c9da0b4c34b5be783403c54f0396fcfe77 [diff] |
[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>