Re: [PATCH] sched/proc: Print user_cpus_ptr for task status

From: Peter Zijlstra
Date: Mon Apr 29 2024 - 08:14:29 EST


On Mon, Apr 29, 2024 at 04:46:33PM +0800, Xuewen Yan wrote:
> The commit 851a723e45d1c("sched: Always clear user_cpus_ptr in do_set_cpus_allowed()")
> would clear the user_cpus_ptr when call the do_set_cpus_allowed.
>
> In order to determine whether the user_cpus_ptr is taking effect,
> it is better to print the task's user_cpus_ptr.

This is an ABI change and would mandate we forever more have this
distinction. I don't think your changes justifies things sufficiently
for this.