Re: [PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-14 Thread Aneesh Kumar K.V
On 3/14/19 7:22 PM, Alexandre Ghiti wrote: On 03/14/2019 02:17 PM, Aneesh Kumar K.V wrote: On 3/14/19 5:13 PM, Alexandre Ghiti wrote: On 03/14/2019 06:52 AM, Aneesh Kumar K.V wrote: Alexandre Ghiti writes: Thanks for noticing Aneesh. I can't find a better solution than bringing back

Re: [PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-14 Thread Alexandre Ghiti
On 03/14/2019 02:17 PM, Aneesh Kumar K.V wrote: On 3/14/19 5:13 PM, Alexandre Ghiti wrote: On 03/14/2019 06:52 AM, Aneesh Kumar K.V wrote: Alexandre Ghiti writes: On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages can not be freed

Re: [PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-14 Thread Aneesh Kumar K.V
On 3/14/19 5:13 PM, Alexandre Ghiti wrote: On 03/14/2019 06:52 AM, Aneesh Kumar K.V wrote: Alexandre Ghiti writes: On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages can not be freed at all. This patch simply enables the possibility

Re: [PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-14 Thread Alexandre Ghiti
On 03/14/2019 06:52 AM, Aneesh Kumar K.V wrote: Alexandre Ghiti writes: On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages can not be freed at all. This patch simply enables the possibility to hand back those pages to memory allocator.

Re: [PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-13 Thread Aneesh Kumar K.V
Alexandre Ghiti writes: > On systems without CONTIG_ALLOC activated but that support gigantic pages, > boottime reserved gigantic pages can not be freed at all. This patch > simply enables the possibility to hand back those pages to memory > allocator. > > Signed-off-by: Alexandre Ghiti >

Re: [PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-13 Thread Michael Ellerman
[ Cc += Aneesh ] Alexandre Ghiti writes: > diff --git a/arch/powerpc/include/asm/book3s/64/hugetlb.h > b/arch/powerpc/include/asm/book3s/64/hugetlb.h > index 5b0177733994..d04a0bcc2f1c 100644 > --- a/arch/powerpc/include/asm/book3s/64/hugetlb.h > +++

Re: [PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-09 Thread Alex Ghiti
On 3/8/19 2:05 PM, Mike Kravetz wrote: On 3/7/19 5:20 AM, Alexandre Ghiti wrote: On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages can not be freed at all. This patch simply enables the possibility to hand back those pages to memory

Re: [PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-08 Thread Mike Kravetz
On 3/7/19 5:20 AM, Alexandre Ghiti wrote: > On systems without CONTIG_ALLOC activated but that support gigantic pages, > boottime reserved gigantic pages can not be freed at all. This patch > simply enables the possibility to hand back those pages to memory > allocator. > > Signed-off-by:

[PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-07 Thread Alexandre Ghiti
On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages can not be freed at all. This patch simply enables the possibility to hand back those pages to memory allocator. Signed-off-by: Alexandre Ghiti Acked-by: David S. Miller [sparc] ---