From: Johannes Weiner Date: Mon, 7 Apr 2014 22:37:41 +0000 (-0700) Subject: mm: memcg: push !mm handling out to page cache charge function X-Git-Tag: v3.15-rc1~57^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=284f39afeaa4;p=pandora-kernel.git mm: memcg: push !mm handling out to page cache charge function Only page cache charges can happen without an mm context, so push this special case out of the inner core and into the cache charge function. An ancient comment explains that the mm can also be NULL in case the task is currently being migrated, but that is not actually true with the current case, so just remove it. Signed-off-by: Johannes Weiner Cc: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed