Skip to content

sched/core: Show user_cpus_ptr & allow its reset

Waiman Long linux-doc linux-fsdevel lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched/core: Enable full cpumask to clear user cpumask in sched_setaffinity()kernel/sched/syscalls.c+14 -60 replies
2/2fs/proc: Show the content of task->user_cpus_ptr in /proc/<pid>/statusDocumentation/filesystems/proc.rst fs/proc/array.c+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.51.0