Re: [PATCH] kvm: arm/arm64: Rework gpa callback handlers

2017-03-27 Thread Suzuki K Poulose
On 24/03/17 18:00, Christoffer Dall wrote: On Mon, Mar 20, 2017 at 06:26:42PM +, Suzuki K Poulose wrote: In order to perform an operation on a gpa range, the hyp iterates the hyp ? To be precise "the host" ? over each page in a user memory slot for the given range. This is inefficien

Re: [PATCH] kvm: arm/arm64: Rework gpa callback handlers

2017-03-24 Thread Christoffer Dall
On Mon, Mar 20, 2017 at 06:26:42PM +, Suzuki K Poulose wrote: > In order to perform an operation on a gpa range, the hyp iterates the hyp ? > over each page in a user memory slot for the given range. This is > inefficient while dealing with a big range (e.g, a VMA), especially > while unmapin

[PATCH] kvm: arm/arm64: Rework gpa callback handlers

2017-03-20 Thread Suzuki K Poulose
In order to perform an operation on a gpa range, the hyp iterates over each page in a user memory slot for the given range. This is inefficient while dealing with a big range (e.g, a VMA), especially while unmaping a range. At present, with stage2 unmap on a range with a hugepage backed region, we