Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-05-05 Thread Aneesh Kumar K.V
Vlastimil Babka writes: > On 04/21/2015 09:31 AM, Aneesh Kumar K.V wrote: >> Vlastimil Babka writes: >> >>> On 25.2.2015 22:24, David Rientjes wrote: > alloc_pages_preferred_node() variant, change the exact_node() variant to > pass > __GFP_THISNODE, and audit and adjust all

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-05-05 Thread Vlastimil Babka
On 04/21/2015 09:31 AM, Aneesh Kumar K.V wrote: Vlastimil Babka writes: On 25.2.2015 22:24, David Rientjes wrote: alloc_pages_preferred_node() variant, change the exact_node() variant to pass __GFP_THISNODE, and audit and adjust all callers accordingly. Sounds like that should be done as

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-05-05 Thread Aneesh Kumar K.V
Vlastimil Babka vba...@suse.cz writes: On 04/21/2015 09:31 AM, Aneesh Kumar K.V wrote: Vlastimil Babka vba...@suse.cz writes: On 25.2.2015 22:24, David Rientjes wrote: alloc_pages_preferred_node() variant, change the exact_node() variant to pass __GFP_THISNODE, and audit and adjust all

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-05-05 Thread Vlastimil Babka
On 04/21/2015 09:31 AM, Aneesh Kumar K.V wrote: Vlastimil Babka vba...@suse.cz writes: On 25.2.2015 22:24, David Rientjes wrote: alloc_pages_preferred_node() variant, change the exact_node() variant to pass __GFP_THISNODE, and audit and adjust all callers accordingly. Sounds like that

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-04-21 Thread Aneesh Kumar K.V
Vlastimil Babka writes: > On 25.2.2015 22:24, David Rientjes wrote: >> >>> alloc_pages_preferred_node() variant, change the exact_node() variant to >>> pass >>> __GFP_THISNODE, and audit and adjust all callers accordingly. >>> >> Sounds like that should be done as part of a cleanup after the

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-04-21 Thread Aneesh Kumar K.V
Vlastimil Babka vba...@suse.cz writes: On 25.2.2015 22:24, David Rientjes wrote: alloc_pages_preferred_node() variant, change the exact_node() variant to pass __GFP_THISNODE, and audit and adjust all callers accordingly. Sounds like that should be done as part of a cleanup after the 4.0

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-02-25 Thread Vlastimil Babka
On 25.2.2015 22:24, David Rientjes wrote: alloc_pages_preferred_node() variant, change the exact_node() variant to pass __GFP_THISNODE, and audit and adjust all callers accordingly. Sounds like that should be done as part of a cleanup after the 4.0 issues are addressed.

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-02-25 Thread David Rientjes
On Wed, 25 Feb 2015, Vlastimil Babka wrote: > > Commit 077fcf116c8c ("mm/thp: allocate transparent hugepages on local > > node") restructured alloc_hugepage_vma() with the intent of only > > allocating transparent hugepages locally when there was not an effective > > interleave mempolicy. > > >

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-02-25 Thread Vlastimil Babka
On 02/25/2015 12:24 AM, David Rientjes wrote: From: Greg Thelen Commit 077fcf116c8c ("mm/thp: allocate transparent hugepages on local node") restructured alloc_hugepage_vma() with the intent of only allocating transparent hugepages locally when there was not an effective interleave mempolicy.

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-02-25 Thread David Rientjes
On Wed, 25 Feb 2015, Vlastimil Babka wrote: Commit 077fcf116c8c (mm/thp: allocate transparent hugepages on local node) restructured alloc_hugepage_vma() with the intent of only allocating transparent hugepages locally when there was not an effective interleave mempolicy.

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-02-25 Thread Vlastimil Babka
On 25.2.2015 22:24, David Rientjes wrote: alloc_pages_preferred_node() variant, change the exact_node() variant to pass __GFP_THISNODE, and audit and adjust all callers accordingly. Sounds like that should be done as part of a cleanup after the 4.0 issues are addressed.

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-02-25 Thread Vlastimil Babka
On 02/25/2015 12:24 AM, David Rientjes wrote: From: Greg Thelen gthe...@google.com Commit 077fcf116c8c (mm/thp: allocate transparent hugepages on local node) restructured alloc_hugepage_vma() with the intent of only allocating transparent hugepages locally when there was not an effective

[patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-02-24 Thread David Rientjes
From: Greg Thelen Commit 077fcf116c8c ("mm/thp: allocate transparent hugepages on local node") restructured alloc_hugepage_vma() with the intent of only allocating transparent hugepages locally when there was not an effective interleave mempolicy. alloc_pages_exact_node() does not limit the

[patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-02-24 Thread David Rientjes
From: Greg Thelen gthe...@google.com Commit 077fcf116c8c (mm/thp: allocate transparent hugepages on local node) restructured alloc_hugepage_vma() with the intent of only allocating transparent hugepages locally when there was not an effective interleave mempolicy. alloc_pages_exact_node() does