Re: [PATCH -mm 0/3] fix numa vs kvm scalability issue

2014-02-19 Thread Andrew Morton
On Wed, 19 Feb 2014 09:59:17 +0100 Peter Zijlstra wrote: > On Tue, Feb 18, 2014 at 05:12:43PM -0500, r...@redhat.com wrote: > > The NUMA scanning code can end up iterating over many gigabytes > > of unpopulated memory, especially in the case of a freshly started > > KVM guest with lots of memory.

Re: [PATCH -mm 0/3] fix numa vs kvm scalability issue

2014-02-19 Thread Peter Zijlstra
On Tue, Feb 18, 2014 at 05:12:43PM -0500, r...@redhat.com wrote: > The NUMA scanning code can end up iterating over many gigabytes > of unpopulated memory, especially in the case of a freshly started > KVM guest with lots of memory. > > This results in the mmu notifier code being called even when

[PATCH -mm 0/3] fix numa vs kvm scalability issue

2014-02-18 Thread riel
The NUMA scanning code can end up iterating over many gigabytes of unpopulated memory, especially in the case of a freshly started KVM guest with lots of memory. This results in the mmu notifier code being called even when there are no mapped pages in a virtual address range. The amount of time wa