From: Oleg Nesterov Date: Wed, 29 Mar 2006 00:11:19 +0000 (-0800) Subject: [PATCH] revert "Optimize sys_times for a single thread process" X-Git-Tag: v2.6.17-rc1~181 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35f5cad8c4bab94ecc5acdc4055df5ea12dc76f8;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed