Re: [PATCH 1/2] cpuset: Fix cpuset_cpus_allowed() to not filter offline CPUs
From: Waiman Long
Date: Wed Feb 01 2023 - 14:19:02 EST
On 2/1/23 14:14, Waiman Long wrote:
One possible solution is to use cpuset_cpus_allowed_fallback() in case
none of the cpus in the current cpuset is allowed to be used to run a
given task.
It looks like we will need to enhance cpuset_cpus_allowed_fallback() to
walk up cpuset tree to find one that have useable cpus.
Cheers,
Longman