Messages in this thread | | | Date | Tue, 18 Jan 2022 10:39:58 +0000 | From | Mel Gorman <> | Subject | Re: [PATCH] sched/numa: initialize numa statistics when forking new task |
| |
On Thu, Jan 13, 2022 at 09:39:20PM +0800, Honglei Wang wrote: > 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 <wanghonglei@didichuxing.com>
Acked-by: Mel Gorman <mgorman@suse.de>
-- Mel Gorman SUSE Labs
| |