diff options
author | Bharata B Rao <bharata@amd.com> | 2022-01-18 10:35:15 +0530 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-01-27 12:57:18 +0100 |
commit | 28c988c3ec29db74a1dda631b18785958d57df4f (patch) | |
tree | 5d3d767e8a188de5fb8250a960046803a6dbaf19 /kernel/sched/cpufreq_schedutil.c | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) | |
download | linux-28c988c3ec29db74a1dda631b18785958d57df4f.tar.gz linux-28c988c3ec29db74a1dda631b18785958d57df4f.tar.bz2 linux-28c988c3ec29db74a1dda631b18785958d57df4f.zip |
sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
The older format of /proc/pid/sched printed home node info which
required the mempolicy and task lock around mpol_get(). However
the format has changed since then and there is no need for
sched_show_numa() any more to have mempolicy argument,
asssociated mpol_get/put and task_lock/unlock. Remove them.
Fixes: 397f2378f1361 ("sched/numa: Fix numa balancing stats in /proc/pid/sched")
Signed-off-by: Bharata B Rao <bharata@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Link: https://lore.kernel.org/r/20220118050515.2973-1-bharata@amd.com
Diffstat (limited to 'kernel/sched/cpufreq_schedutil.c')
0 files changed, 0 insertions, 0 deletions