MM: zero memory at free and deferred zero
Change-Id: Ib0055d6f2bdd10d05d749dcd1f3d5c3d318f22f3
This commit is contained in:
@ -3122,6 +3122,7 @@ static void idle(void)
|
||||
v->status == CPU_STATUS_RESERVED) {
|
||||
/* No work to do? Consolidate the kmalloc free list */
|
||||
kmalloc_consolidate_free_list();
|
||||
ihk_numa_zero_free_pages(ihk_mc_get_numa_node_by_distance(0));
|
||||
monitor->status = IHK_OS_MONITOR_IDLE;
|
||||
cpu_local_var(current)->status = PS_INTERRUPTIBLE;
|
||||
cpu_safe_halt();
|
||||
@ -3477,6 +3478,7 @@ void spin_sleep_or_schedule(void)
|
||||
break;
|
||||
}
|
||||
|
||||
ihk_numa_zero_free_pages(ihk_mc_get_numa_node_by_distance(0));
|
||||
cpu_pause();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user