summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2012-07-31 23:44:32 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-08-01 01:42:46 (GMT)
commit7f338fe4540b1d0600b02314c7d885fd358e9eca (patch)
treedbd0fe3c3d874ae622980dae4b15605bb9e2052a /include/trace
parent381760eadc393bcb1bb328510ad75cf13431806d (diff)
downloadlinux-7f338fe4540b1d0600b02314c7d885fd358e9eca.tar.xz
nbd: set SOCK_MEMALLOC for access to PFMEMALLOC reserves
Set SOCK_MEMALLOC on the NBD socket to allow access to PFMEMALLOC reserves so pages backed by NBD, particularly if swap related, can be cleaned to prevent the machine being deadlocked. It is still possible that the PFMEMALLOC reserves get depleted resulting in deadlock but this can be resolved by the administrator by increasing min_free_kbytes. Signed-off-by: Mel Gorman <mgorman@suse.de> Cc: David Miller <davem@davemloft.net> Cc: Neil Brown <neilb@suse.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Christie <michaelc@cs.wisc.edu> Cc: Eric B Munson <emunson@mgebm.net> Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Cc: Mel Gorman <mgorman@suse.de> Cc: Christoph Lameter <cl@linux.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions