ANDROID: mm/swap_cgroup: remove global swap cgroup lock from swap_cgroup_cmpxchg
Adapt swap_cgroup_cmpxchg to no longer rely on the global swap cgroup lock,
in line with patch d7fdd8244671 ("mm/swap_cgroup: remove global swap cgroup
lock").
The Linux community has removed swap_cgroup_cmpxchg entirely in patch
ddafdd294f58 ("mm/swap_cgroup: remove swap_cgroup_cmpxchg"), which depends on
patch 6b611388 ("memcg-v1: remove charge move code"). As these patches
break the ABI, we must retain and modify swap_cgroup_cmpxchg instead.
Bug: 123456
Change-Id: I7ca33c1461345de595619e32e6029df082cbb013
Signed-off-by:
gao xu <gaoxu2@honor.corp-partner.google.com>
Loading