mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
b43abf5ca3
commit
d6bbb14cdc
1 file changed
+7
@@ -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)
|
||||
|
||||