diff options
| author | Shakeel Butt <[email protected]> | 2024-08-14 22:04:50 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:26:19 -0700 |
| commit | f7d49ba03ae7555e6337b9d39eb080b4a064eab8 (patch) | |
| tree | d9522e0ddfe8b94961b964e1edb489f44fb648d7 /include/linux | |
| parent | 7d7602b4bed9b4e70c3c0650791b6b4531733a42 (diff) | |
memcg: move v1 events and statistics code to v1 file
Currently the common code path for charge commit, swapout and batched
uncharge are executing v1 only code which is completely useless for the v2
deployments where CONFIG_MEMCG_V1 is disabled. In addition, it is mucking
with IRQs which might be slow on some architectures. Let's move all of
this code to v1 only code and remove them from v2 only deployments.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Shakeel Butt <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: T.J. Mercier <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions