aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2024-02-27 19:58:01 -0500
committerTejun Heo <[email protected]>2024-02-28 08:02:55 -1000
commit66f40b926dd249f74334a22162c09e7ec1ec5b07 (patch)
tree8798d3c7165c616318877aab239b685a6892e74c /tools/perf/scripts/python/export-to-postgresql.py
parente326df53af0021f48a481ce9d489efda636c2dc6 (diff)
cgroup/cpuset: Fix a memory leak in update_exclusive_cpumask()
Fix a possible memory leak in update_exclusive_cpumask() by moving the alloc_cpumasks() down after the validate_change() check which can fail and still before the temporary cpumasks are needed. Fixes: e2ffe502ba45 ("cgroup/cpuset: Add cpuset.cpus.exclusive for v2") Reported-and-tested-by: Mirsad Todorovac <[email protected]> Closes: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]> Cc: [email protected] # v6.7+
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions