From: Marek Szyprowski Date: Wed, 25 Jan 2012 11:49:24 +0000 (+0100) Subject: mm: trigger page reclaim in alloc_contig_range() to stabilise watermarks X-Git-Tag: sz_154~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1851ee3f461494bd612157557dc72efdddeee17c;p=pandora-kernel.git mm: trigger page reclaim in alloc_contig_range() to stabilise watermarks alloc_contig_range() performs memory allocation so it also should keep track on keeping the correct level of memory watermarks. This commit adds a call to *_slowpath style reclaim to grab enough pages to make sure that the final collection of contiguous pages from freelists will not starve the system. [notasas@gmail.com: update out_of_memory args] Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park CC: Michal Nazarewicz Tested-by: Rob Clark Tested-by: Ohad Ben-Cohen Tested-by: Benjamin Gaignard Tested-by: Robert Nelson Tested-by: Barry Song --- Reading git-diff-tree failed