lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251029215555.1006595-1-longman@redhat.com>
Date: Wed, 29 Oct 2025 17:55:53 -0400
From: Waiman Long <longman@...hat.com>
To: Ingo Molnar <mingo@...hat.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Juri Lelli <juri.lelli@...hat.com>,
	Vincent Guittot <vincent.guittot@...aro.org>,
	Dietmar Eggemann <dietmar.eggemann@....com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Ben Segall <bsegall@...gle.com>,
	Mel Gorman <mgorman@...e.de>,
	Valentin Schneider <vschneid@...hat.com>,
	Jonathan Corbet <corbet@....net>
Cc: linux-kernel@...r.kernel.org,
	linux-fsdevel@...r.kernel.org,
	linux-doc@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	David Hildenbrand <david@...hat.com>,
	Catalin Marinas <catalin.marinas@....com>,
	Nico Pache <npache@...hat.com>,
	Phil Auld <pauld@...hat.com>,
	John Coleman <jocolema@...hat.com>,
	Waiman Long <longman@...hat.com>
Subject: [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(-)

-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ