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

2019-03-28 Thread Alex Ghiti
On 3/28/19 4:43 PM, Mike Kravetz wrote: On 3/26/19 11:36 PM, 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 al

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

2019-03-28 Thread Mike Kravetz
On 3/26/19 11:36 PM, 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: Alexan

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

2019-03-27 Thread Alexandre Ghiti
On 03/27/2019 11:05 AM, Aneesh Kumar K.V wrote: Alexandre Ghiti writes: On 03/27/2019 09:55 AM, Aneesh Kumar K.V wrote: On 3/27/19 2:14 PM, Alexandre Ghiti wrote: On 03/27/2019 08:01 AM, Aneesh Kumar K.V wrote: On 3/27/19 12:06 PM, Alexandre Ghiti wrote: . This is now #define __HAVE

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

2019-03-27 Thread Aneesh Kumar K.V
Alexandre Ghiti writes: > On 03/27/2019 09:55 AM, Aneesh Kumar K.V wrote: >> On 3/27/19 2:14 PM, Alexandre Ghiti wrote: >>> >>> >>> On 03/27/2019 08:01 AM, Aneesh Kumar K.V wrote: On 3/27/19 12:06 PM, Alexandre Ghiti wrote: > . >> >> This is now >> #define __HAVE_ARCH_GIGANTIC_PAGE_RUN

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

2019-03-27 Thread Alexandre Ghiti
On 03/27/2019 09:55 AM, Aneesh Kumar K.V wrote: On 3/27/19 2:14 PM, Alexandre Ghiti wrote: On 03/27/2019 08:01 AM, Aneesh Kumar K.V wrote: On 3/27/19 12:06 PM, Alexandre Ghiti wrote: On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages

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

2019-03-27 Thread Aneesh Kumar K.V
On 3/27/19 2:14 PM, Alexandre Ghiti wrote: On 03/27/2019 08:01 AM, Aneesh Kumar K.V wrote: On 3/27/19 12:06 PM, 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 enable

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

2019-03-27 Thread Alexandre Ghiti
On 03/27/2019 08:01 AM, Aneesh Kumar K.V wrote: On 3/27/19 12:06 PM, 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

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

2019-03-27 Thread Aneesh Kumar K.V
On 3/27/19 12:06 PM, 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: Alexandre Ghiti

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

2019-03-26 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] --- arch/