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 <lijianzhong@xiaomi.com>
Change-Id: I418293391bc62a68207eae51a79bd45a7f6cd2ed
(cherry picked from commit 77e791866b)
This commit is contained in:
lijianzhong
2021-03-24 14:09:59 +08:00
committed by Carlos Llamas
parent 0ea0d6a7a2
commit d73a7cebfd

View File

@@ -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);