diff options
| author | Roman Gushchin <[email protected]> | 2024-07-26 20:31:09 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:25:51 -0700 |
| commit | 941ce635234162c420c9185816c59f7d5dd1ad07 (patch) | |
| tree | 1ea4103c14cfc0a75a82be650f7fc8a201a74dde /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f77bd4b14ccfd38dfcfe67eecad517b8ec1b7f37 (diff) | |
mm: page_counters: put page_counter_calculate_protection() under CONFIG_MEMCG
Put page_counter_calculate_protection() under CONFIG_MEMCG.
The protection functionality (min/low limits) is not supported by any
other cgroup subsystem, so page_counter_calculate_protection() and related
static effective_protection() can be compiled out if CONFIG_MEMCG is not
enabled.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Roman Gushchin <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions