Commit 2f52c6c0 authored by Carlos Llamas's avatar Carlos Llamas Committed by linjunjie1
Browse files

ANDROID: fix ABI-break in struct cgroup_root



Fix the ABI issues introduced by commit dd9542ae ("cgroup: Make
operations on the cgroup root_list RCU safe"). Use _some_ of the bits
reserved in cgroup_root for the new root->rcu member. This new offset
restricts the usage of kfree_rcu() though, so this call has replaced
with call_rcu() instead. Update the stg file with this update:

type 'struct cgroup_root' changed
  member 'u8 android_backport_reserved1[28]' was removed
  member 'union { struct callback_head rcu; struct { u8 android_backport_reserved1[28]; }; union { }; }' was added

Bug: 379227997
Bug: 381949343
Bug: 391748468
Suggested-by: default avatarT.J. Mercier <tjmercier@google.com>
Change-Id: I3e76ca05ee6d68f7167bf487348f438cd2a00d5f
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
(cherry picked from commit d66e9166)
[cmllamas: fix trivial conflicts in stg.allowed_breaks]
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
parent afc73d59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment