summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/btree.h
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2012-01-25 12:49:24 +0100
committerMarek Szyprowski <m.szyprowski@samsung.com>2012-05-21 15:09:36 +0200
commit49f223a9cd96c7293d7258ff88c2bdf83065f69c (patch)
tree4a141cbe4132ab2a5edfbc44165d091bb2289c75 /fs/nilfs2/btree.h
parentbba9071087108d3de70bea274e35064cc480487b (diff)
downloadtalos-obmc-linux-49f223a9cd96c7293d7258ff88c2bdf83065f69c.tar.gz
talos-obmc-linux-49f223a9cd96c7293d7258ff88c2bdf83065f69c.zip
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. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> CC: Michal Nazarewicz <mina86@mina86.com> Tested-by: Rob Clark <rob.clark@linaro.org> Tested-by: Ohad Ben-Cohen <ohad@wizery.com> Tested-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Tested-by: Robert Nelson <robertcnelson@gmail.com> Tested-by: Barry Song <Baohua.Song@csr.com>
Diffstat (limited to 'fs/nilfs2/btree.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud