Skip to content

Commit 6b61138

Browse files
shakeelbakpm00
authored andcommitted
memcg-v1: remove charge move code
The memcg-v1 charge move feature has been deprecated completely and let's remove the relevant code as well. Link: https://lkml.kernel.org/r/20241025012304.2473312-3-shakeel.butt@linux.dev Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev> Acked-by: Michal Hocko <mhocko@suse.com> Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Hugh Dickins <hughd@google.com> Cc: Muchun Song <muchun.song@linux.dev> Cc: Yosry Ahmed <yosryahmed@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent aa6b4fd commit 6b61138

File tree

4 files changed

+0
-907
lines changed

4 files changed

+0
-907
lines changed

include/linux/memcontrol.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,6 @@ struct mem_cgroup {
299299
/* For oom notifier event fd */
300300
struct list_head oom_notify;
301301

302-
/*
303-
* Should we move charges of a task when a task is moved into this
304-
* mem_cgroup ? And what type of charges should we move ?
305-
*/
306-
unsigned long move_charge_at_immigrate;
307302
/* taken only while moving_account > 0 */
308303
spinlock_t move_lock;
309304
unsigned long move_lock_flags;

0 commit comments

Comments
 (0)