Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-23 Thread Mel Gorman
On Mon, Feb 23, 2015 at 03:13:48PM +, Dario Faggioli wrote: > Hi everyone, > > On Thu, 2015-02-19 at 17:01 +, Mel Gorman wrote: > > On Thu, Feb 19, 2015 at 01:06:53PM +, David Vrabel wrote: > > > I cannot think of a reason why this would fail for NUMA balancing on bare > > metal. The

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-23 Thread Dario Faggioli
Hi everyone, On Thu, 2015-02-19 at 17:01 +, Mel Gorman wrote: > On Thu, Feb 19, 2015 at 01:06:53PM +, David Vrabel wrote: > I cannot think of a reason why this would fail for NUMA balancing on bare > metal. The PAGE_NONE protection clears the present bit on p[te|md]_modify > so the expect

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-20 Thread Kirill A. Shutemov
On Fri, Feb 20, 2015 at 10:47:52AM +, Andrew Cooper wrote: > On 20/02/15 01:49, Linus Torvalds wrote: > > On Thu, Feb 19, 2015 at 5:05 PM, Kirill A. Shutemov > > wrote: > >> I'm feeling I miss very basic background on how Xen works, but why does it > >> set _PAGE_GLOBAL on userspace entries? I

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-20 Thread Andrew Cooper
On 20/02/15 11:29, Kirill A. Shutemov wrote: > On Fri, Feb 20, 2015 at 10:47:52AM +, Andrew Cooper wrote: >> On 20/02/15 01:49, Linus Torvalds wrote: >>> On Thu, Feb 19, 2015 at 5:05 PM, Kirill A. Shutemov >>> wrote: I'm feeling I miss very basic background on how Xen works, but why does

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-20 Thread Andrew Cooper
On 20/02/15 01:49, Linus Torvalds wrote: > On Thu, Feb 19, 2015 at 5:05 PM, Kirill A. Shutemov > wrote: >> I'm feeling I miss very basic background on how Xen works, but why does it >> set _PAGE_GLOBAL on userspace entries? It sounds strange to me. > It is definitely strange. I'm guessing that it'

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-20 Thread David Vrabel
On 19/02/15 23:09, Linus Torvalds wrote: > On Thu, Feb 19, 2015 at 5:06 AM, David Vrabel wrote: >> >> The NUMA_BALANCING series beginning with 5d833062139d (mm: numa: do not >> dereference pmd outside of the lock during NUMA hinting fault) and >> specifically 8a0516ed8b90 (mm: convert p[te|md]_num

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-19 Thread Kirill A. Shutemov
On Thu, Feb 19, 2015 at 01:06:53PM +, David Vrabel wrote: > Mel, > > The NUMA_BALANCING series beginning with 5d833062139d (mm: numa: do not > dereference pmd outside of the lock during NUMA hinting fault) and > specifically 8a0516ed8b90 (mm: convert p[te|md]_numa users to > p[te|md]_protnone_

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-19 Thread Linus Torvalds
On Thu, Feb 19, 2015 at 5:05 PM, Kirill A. Shutemov wrote: > > I'm feeling I miss very basic background on how Xen works, but why does it > set _PAGE_GLOBAL on userspace entries? It sounds strange to me. It is definitely strange. I'm guessing that it's some ancient Xen hack for the early Intel vi

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-19 Thread Linus Torvalds
On Thu, Feb 19, 2015 at 5:06 AM, David Vrabel wrote: > > The NUMA_BALANCING series beginning with 5d833062139d (mm: numa: do not > dereference pmd outside of the lock during NUMA hinting fault) and > specifically 8a0516ed8b90 (mm: convert p[te|md]_numa users to > p[te|md]_protnone_numa) breaks Xen

Re: [Xen-devel] NUMA_BALANCING and Xen PV guest regression in 3.20-rc0

2015-02-19 Thread Mel Gorman
On Thu, Feb 19, 2015 at 01:06:53PM +, David Vrabel wrote: > Mel, > > The NUMA_BALANCING series beginning with 5d833062139d (mm: numa: do not > dereference pmd outside of the lock during NUMA hinting fault) and > specifically 8a0516ed8b90 (mm: convert p[te|md]_numa users to > p[te|md]_protnone_