From: Rik van Riel Date: Thu, 25 Jun 2015 22:03:56 +0000 (-0700) Subject: exit,stats: /* obey this comment */ X-Git-Tag: omap-for-v4.2/fixes-rc1^2~106^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51229b495340bd7a02ce3622d1966829b67054ea;p=pandora-kernel.git exit,stats: /* obey this comment */ There is a helpful comment in do_exit() that states we sync the mm's RSS info before statistics gathering. The function that does the statistics gathering is called right above that comment. Change the code to obey the comment. Signed-off-by: Rik van Riel Cc: Oleg Nesterov Cc: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed