From: Jerome Marchand Date: Tue, 12 Nov 2013 23:08:31 +0000 (-0800) Subject: mm: factor commit limit calculation X-Git-Tag: v3.13-rc1~106^2~182 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00619bcc44d6b779aa366130b354153c222e4380;p=pandora-kernel.git mm: factor commit limit calculation The same calculation is currently done in three differents places. Factor that code so future changes has to be made at only one place. [akpm@linux-foundation.org: uninline vm_commit_limit()] Signed-off-by: Jerome Marchand Cc: Dave Hansen Cc: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed