ANDROID: export find_user() for GKI purpose.
Exporting the symbols find_user() to access user task information in ko module for monitoring and optimization purposes. This is a necessary component of our scheduling policy. Bug: 425550656 Bug: 339371220 Bug: 183674818 Signed-off-by: lijianzhong <lijianzhong@xiaomi.com> Change-Id: I12135c0af312904dd21b6f074beda086ad5ece98 (cherry picked from commit 16350016d8a3678da5012343ca00fa9918340c83) (cherry picked from commit eec2cd3df3aa2d92136658d3619dc5142155c7d4) (cherry picked from commit 28f04588ae211974450cb4c2c94ebe6b03f92368)
This commit is contained in:
@@ -187,6 +187,7 @@ struct user_struct *find_user(kuid_t uid)
|
||||
spin_unlock_irqrestore(&uidhash_lock, flags);
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(find_user);
|
||||
|
||||
void free_uid(struct user_struct *up)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user