mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
ANDROID: export cpuset_cpus_allowed()for GKI purpose.
Exporting the symbol cpuset_cpus_allowed() so that we can adjust a certain type of application's CPU affinity in vendor hooks according to our tuning policy. Related commit: aosp/2548175 Bug: 189725786 Signed-off-by: lijianzhong <lijianzhong@xiaomi.com> Change-Id: I7919a893ab64bb441ab43cbb0b16825ed76d802d (cherry picked from commit 5a7d01ed73e4fc812fda1d7288086dc73a283405)
This commit is contained in:
@@ -3798,7 +3798,7 @@ void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask)
|
||||
guarantee_online_cpus(tsk, pmask);
|
||||
spin_unlock_irqrestore(&callback_lock, flags);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(cpuset_cpus_allowed);
|
||||
/**
|
||||
* cpuset_cpus_allowed_fallback - final fallback before complete catastrophe.
|
||||
* @tsk: pointer to task_struct with which the scheduler is struggling
|
||||
|
||||
Reference in New Issue
Block a user