Commit 4e873ad6 authored by heshuai1's avatar heshuai1 Committed by John Stultz
Browse files

ANDROID: user: Add vendor hook to user for GKI purpose



In order to implement our scheduling tuning policy in certain cases, we
need to initialize the variables that we have defined in the
user_struct. To achieve this, we will add a vendor hook to user.c at
alloc_uid, which will ensure that our own logic is executed during the
initialization of the user_struct.

Bug: 425550656
Bug: 339371220
Bug: 187458531

Signed-off-by: default avatarheshuai1 <heshuai1@xiaomi.com>
Change-Id: I078484aac2c3d396aba5971d6d0f491652f3781c
(cherry picked from commit c9b8fa64)
(cherry picked from commit 9ac0923e)
(cherry picked from commit f0b0ff9f)
[jstultz: Add magic ANDROID_KABI_DECLONLY incantations to try to quiet
CRC errors, then split those out into a separate patch]
Signed-off-by: default avatarJohn Stultz <jstultz@google.com>
parent a097cd9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment