# Re: \[PATCH v9 08/20\] cpuset: Cleanup cpuset\_cpus\_allowed\_fallback() use in select\_fallback\_rq()

- From: Valentin Schneider \<hidden\>
- Date: 2021-06-10 13:00:04 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/06/1409922
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/06/1406870/t.md

```text
On 08/06/21 19:03, Will Deacon wrote:
> select_fallback_rq() only needs to recheck for an allowed CPU if the
> affinity mask of the task has changed since the last check.
>
> Return a 'bool' from cpuset_cpus_allowed_fallback() to indicate whether
> the affinity mask was updated, and use this to elide the allowed check
> when the mask has been left alone.
>
> No functional change.
>
> Suggested-by: Valentin Schneider <redacted>
> Signed-off-by: Will Deacon <will@kernel.org>

Thanks!

Reviewed-by: Valentin Schneider <redacted>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
