aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/genpd.py
diff options
context:
space:
mode:
authorHonglei Wang <[email protected]>2022-01-13 21:39:20 +0800
committerPeter Zijlstra <[email protected]>2022-01-27 12:57:18 +0100
commit12bf8a7eb84e4d3547ebfd89bb0a9255a0f2acc7 (patch)
treecf406039f0c4b2745dd05ed8e55a8b845a299ae7 /scripts/gdb/linux/genpd.py
parent28c988c3ec29db74a1dda631b18785958d57df4f (diff)
sched/numa: initialize numa statistics when forking new task
The child processes will inherit numa_pages_migrated and total_numa_faults from the parent. It means even if there is no numa fault happen on the child, the statistics in /proc/$pid of the child process might show huge amount. This is a bit weird. Let's initialize them when do fork. Signed-off-by: Honglei Wang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Mel Gorman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions