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: <20260127185000.431884-1-swapnil.sapkal@amd.com>
Date: Tue, 27 Jan 2026 18:49:54 +0000
From: Swapnil Sapkal <swapnil.sapkal@....com>
To: <peterz@...radead.org>, <mingo@...hat.com>, <acme@...nel.org>,
	<namhyung@...nel.org>, <irogers@...gle.com>, <james.clark@....com>
CC: <mark.rutland@....com>, <alexander.shishkin@...ux.intel.com>,
	<jolsa@...nel.org>, <adrian.hunter@...el.com>, <thomas.falcon@...el.com>,
	<ashelat@...hat.com>, <yu.c.chen@...el.com>, <sshegde@...ux.ibm.com>,
	<gautham.shenoy@....com>, <ravi.bangoria@....com>, <swapnil.sapkal@....com>,
	<linux-kernel@...r.kernel.org>, <linux-perf-users@...r.kernel.org>
Subject: [PATCH v1 0/6] perf sched stats: Fixes and improvements

These patches contain fixes and improvements related to perf sched stats
code. The series includes:

* Bug fixes
  - Add NULL check for cd_map in perf sched stats to prevent potential
    NULL pointer dereference
  - Fix NULL check in cpumask_to_cpulist() in perf util

* Code quality improvements:
  - Replace hardcoded max cpus value with MAX_NR_CPUS constant in perf
    header
  - Define SEP_LEN macro to replace magic number in perf sched stats
  - Correct spelling of function name in perf sched stats

* Documentation:
  - Fix various issues in the perf sched stats man page

Swapnil Sapkal (6):
  perf header: Replace hardcoded max cpus by MAX_NR_CPUS
  perf util: Fix NULL check in cpumask_to_cpulist()
  perf sched stats: Add NULL check for cd_map
  perf sched stats: correct spelling of function name
  perf sched stats: Define macro for SEP_LEN
  perf sched stats: Fixes in man page

 tools/perf/Documentation/perf-sched.txt |  8 +++----
 tools/perf/builtin-sched.c              | 30 +++++++++++++++----------
 tools/perf/util/header.c                |  5 +++--
 tools/perf/util/util.c                  |  2 +-
 4 files changed, 26 insertions(+), 19 deletions(-)

-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ