Commit 5e8f01fc authored by gao xu's avatar gao xu Committed by T.J. Mercier
Browse files

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: default avatargao xu <gaoxu2@honor.corp-partner.google.com>
parent b9deb026
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment