From: Xu Qiang xuqiang36@huawei.com
Offering: HULK hulk inclusion category: other bugzilla: https://gitee.com/openeuler/kernel/issues/I6ET9W
----------------------------------------------
Signed-off-by: Xu Qiang xuqiang36@huawei.com --- mm/share_pool.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/mm/share_pool.c b/mm/share_pool.c index 014c95d6c95d..3dfd8d4b7c45 100644 --- a/mm/share_pool.c +++ b/mm/share_pool.c @@ -126,7 +126,6 @@ struct sp_spg_stat { /* per process memory usage statistics indexed by tgid */ struct sp_proc_stat { int tgid; - struct mm_struct *mm; char comm[TASK_COMM_LEN]; /* * alloc amount minus free amount, may be negative when freed by @@ -282,7 +281,6 @@ static void sp_init_group_master_stat(int tgid, struct mm_struct *mm, atomic64_set(&stat->alloc_nsize, 0); atomic64_set(&stat->alloc_hsize, 0); atomic64_set(&stat->k2u_size, 0); - stat->mm = mm; stat->tgid = tgid; get_task_comm(stat->comm, current); }