x86/xen: add reschedule point when mapping foreign GFNs
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 28 Oct 2015 13:39:05 +0000 (13:39 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 28 Oct 2015 13:46:27 +0000 (13:46 +0000)
commit914beb9fc26d6225295b8315ab54026f8f22755c
treeff501a82a74d95167af9ab401d2b44d32eff352d
parentcb9644bf3b549d20656cca02e8a6332c67cf37d6
x86/xen: add reschedule point when mapping foreign GFNs

Mapping a large range of foreign GFNs can take a long time, add a
reschedule point after each batch of 16 GFNs.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/x86/xen/mmu.c