]> xenbits.xensource.com Git - xen.git/commit
mm: initialize lowmem virq when boot-time scrubbing is disabled
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 1 Sep 2017 09:04:47 +0000 (11:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Sep 2017 09:04:47 +0000 (11:04 +0200)
commiteb065bb23aa9891da65d335bb318a0336431a87a
treefdc9a84a155510ba9891a3128c94b03fa60e0bfd
parent9e50d8adc9454ccbcd7b3b31e8f1abcc8a976b67
mm: initialize lowmem virq when boot-time scrubbing is disabled

scrub_heap_pages() does early return if boot-time scrubbing is
disabled, neglecting to initialize lowmem VIRQ.

Because setup_low_mem_virq() doesn't logically belong in
scrub_heap_pages() we put them both into the newly added
heap_init_late().

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/arm/setup.c
xen/arch/x86/setup.c
xen/common/page_alloc.c
xen/include/xen/mm.h