From: Oleg Nesterov Date: Wed, 26 May 2010 21:43:20 +0000 (-0700) Subject: exit: move taskstats_tgid_free() from __exit_signal() to free_signal_struct() X-Git-Tag: v2.6.35-rc1~159 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97101eb41d0d3c97543878ce40e0b8a8b2747ed7;p=pandora-kernel.git exit: move taskstats_tgid_free() from __exit_signal() to free_signal_struct() Move taskstats_tgid_free() from __exit_signal() to free_signal_struct(). This way signal->stats never points to nowhere and we can read ->stats lockless. Signed-off-by: Oleg Nesterov Cc: Balbir Singh Cc: Roland McGrath Cc: Veaceslav Falico Cc: Stanislaw Gruszka Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed