Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37d63f24 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Will McVicker
Browse files

ANDROID: GKI: cpuset: add field for task affinity for cpusets



This updates the struct task_struct ABI to include a field for vendors
to support task affinity for cpusets.

Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
Bug: 148872640
Bug: 149816871
Change-Id: I6c2ec1d5e3d994e176926d94b9e0cc92418020cc
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
(cherry picked from commit b4fee475)
[only cherry-picked the ABI difference]
parent 66042ce5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -710,6 +710,7 @@ struct task_struct {
	unsigned int			policy;
	int				nr_cpus_allowed;
	cpumask_t			cpus_allowed;
	cpumask_t			cpus_requested;

#ifdef CONFIG_PREEMPT_RCU
	int				rcu_read_lock_nesting;
+1 −0
Original line number Diff line number Diff line
@@ -74,6 +74,7 @@ struct task_struct init_task
	.policy		= SCHED_NORMAL,
	.cpus_allowed	= CPU_MASK_ALL,
	.nr_cpus_allowed= NR_CPUS,
	.cpus_requested	= CPU_MASK_ALL,
	.mm		= NULL,
	.active_mm	= &init_mm,
	.restart_block	= {