On Wed, Nov 27, 2019 at 09:50:01AM +0800, ?????? wrote: > NUMA balancing will try to migrate pages between nodes, which > could caused by memory policy or numa group aggregation, while > the page migration could failed too for eg when the target node > run out of memory. > > Since this is critical to the performance, admin should know > how serious the problem is, and take actions before it causing > too much performance damage, thus this patch expose the counter > as 'migfailed' in '/proc/PID/sched'. > > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > Cc: Michal Koutný <mkoutny@xxxxxxxx> > Suggested-by: Mel Gorman <mgorman@xxxxxxx> > Signed-off-by: Michael Wang <yun.wang@xxxxxxxxxxxxxxxxx> This patch can be treated independently of the rest of the series as it's not directly related. Acked-by: Mel Gorman <mgorman@xxxxxxx> -- Mel Gorman SUSE Labs