This patch set introduces the concept of indirectly reclaimable
memory and applies it to fix the issue, when a big number
of dentries with external names can significantly affect
the MemAvailable value.

v2:
1) removed comments specific to unreclaimable slabs
2) splitted into 3 patches

v1:
https://lkml.org/lkml/2018/3/1/961

Cc: Andrew Morton <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

Roman Gushchin (3):
  mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES
  mm: treat indirectly reclaimable memory as available in MemAvailable
  dcache: account external names as indirectly reclaimable memory

 fs/dcache.c            | 29 ++++++++++++++++++++++++-----
 include/linux/mmzone.h |  1 +
 mm/page_alloc.c        |  7 +++++++
 mm/vmstat.c            |  1 +
 4 files changed, 33 insertions(+), 5 deletions(-)

-- 
2.14.3

Reply via email to