[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v6 4/8] mm: Scrub memory from idle loop

>>> Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> 08/04/17 7:04 PM >>>
>Instead of scrubbing pages during guest destruction (from
>free_heap_pages()) do this opportunistically, from the idle loop.
>We might come to scrub_free_pages()from idle loop while another CPU
>uses mapcache override, resulting in a fault while trying to do
>__map_domain_page() in scrub_one_page(). To avoid this, make mapcache
>vcpu override a per-cpu variable.
>Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.