diff options
author | Mel Gorman <[email protected]> | 2016-07-28 15:46:05 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-07-28 16:07:41 -0700 |
commit | ef8f2327996b5c20f11420f64e439e87c7a01604 (patch) | |
tree | 0ea9bf78d88e1207005fc5310fe812d1edb0efc2 /fs/file_table.c | |
parent | a9dd0a83104c01269ea36a9b4ec42b51edf85427 (diff) |
mm, memcg: move memcg limit enforcement from zones to nodes
Memcg needs adjustment after moving LRUs to the node. Limits are
tracked per memcg but the soft-limit excess is tracked per zone. As
global page reclaim is based on the node, it is easy to imagine a
situation where a zone soft limit is exceeded even though the memcg
limit is fine.
This patch moves the soft limit tree the node. Technically, all the
variable names should also change but people are already familiar by the
meaning of "mz" even if "mn" would be a more appropriate name now.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mel Gorman <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Hillf Danton <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions