From d73a7cebfdc0918d69c1f0170ba96ce0e50528cd Mon Sep 17 00:00:00 2001 From: lijianzhong Date: Wed, 24 Mar 2021 14:09:59 +0800 Subject: [PATCH] ANDROID: sched: Add ANDROID_OEM_DATA_ARRAY in user_struct. Add ANDROID_OEM_DATA_ARRAY to the struct user so that we can record the necessary data to implement the OEM's scheduling policy. Bug: 183674818 Signed-off-by: lijianzhong Change-Id: I418293391bc62a68207eae51a79bd45a7f6cd2ed (cherry picked from commit 77e791866b4e2be845af470d40cb6cab417582fe) --- include/linux/sched/user.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/sched/user.h b/include/linux/sched/user.h index f054d0360a75..8da03620a170 100644 --- a/include/linux/sched/user.h +++ b/include/linux/sched/user.h @@ -34,6 +34,7 @@ struct user_struct { /* Miscellaneous per-user rate limit */ struct ratelimit_state ratelimit; + ANDROID_OEM_DATA_ARRAY(1, 2); }; extern int uids_sysfs_init(void);