[PATCH v2 0/2] sched/core: Show user_cpus_ptr & allow its reset

Waiman Long posted 2 patches 1 month, 2 weeks ago
Documentation/filesystems/proc.rst |  3 +++
fs/proc/array.c                    |  9 +++++++++
kernel/sched/syscalls.c            | 20 ++++++++++++++------
3 files changed, 26 insertions(+), 6 deletions(-)
[PATCH v2 0/2] sched/core: Show user_cpus_ptr & allow its reset
Posted by Waiman Long 1 month, 2 weeks ago
 v2: Make minor change in patch 2 to show the new status fields will be
     empty if user_cpus_ptr not defined.

As the presence of user_cpus_ptr will affect how the CPU affinity of a
process will be defined, it makes sense to enable users to see if the
user_cpus_ptr of a process is set as well as enabling the clearing of
user_cpus_ptr if it is not needed.

Waiman Long (2):
  sched/core: Enable full cpumask to clear user cpumask in
    sched_setaffinity()
  fs/proc: Show the content of task->user_cpus_ptr in /proc/<pid>/status

 Documentation/filesystems/proc.rst |  3 +++
 fs/proc/array.c                    |  9 +++++++++
 kernel/sched/syscalls.c            | 20 ++++++++++++++------
 3 files changed, 26 insertions(+), 6 deletions(-)

-- 
2.51.0