mm: Print number of unscrubbed pages in 'H' debug handler

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
Boris Ostrovsky authored and Jan Beulich committed 2017-08-22 10:42:50 +02:00
1 parent b43abf5ca3
commit d6bbb14cdc
1 file changed
+7
+7
View File
@@ -2308,6 +2308,13 @@ static void dump_heap(unsigned char key)
printk("heap[node=%d][zone=%d] -> %lu pages\n",
i, j, avail[i][j]);
}
for ( i = 0; i < MAX_NUMNODES; i++ )
{
if ( !node_need_scrub[i] )
continue;
printk("Node %d has %lu unscrubbed pages\n", i, node_need_scrub[i]);
}
}
static __init int register_heap_trigger(void)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.