Jerome Marchand 00619bcc44 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 <jmarchan@redhat.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-11-13 12:09:11 +09:00
..
2013-05-01 17:29:39 -04:00
2009-05-15 15:32:45 +02:00
2013-11-13 12:09:11 +09:00
2013-02-22 23:31:31 -05:00
2013-06-29 12:56:32 +04:00
2013-04-29 15:42:01 -04:00
2013-02-22 23:31:31 -05:00