Re: [PATCH] mm/madvise: enable soft offline of HugeTLB pages at PUD level

2017-09-29 Thread Alexandru Moise
On Fri, Sep 29, 2017 at 04:55:54PM +0300, Kirill A. Shutemov wrote: > On Wed, Sep 13, 2017 at 12:10:47PM +0200, Alexandru Moise wrote: > > since 94310cb we've been able to soft offline 1G hugepages at the PGD > > level, however x86_64 gigantic hugepages are at the PUD level so we > > should add an

Re: [PATCH] mm/madvise: enable soft offline of HugeTLB pages at PUD level

2017-09-29 Thread Kirill A. Shutemov
On Wed, Sep 13, 2017 at 12:10:47PM +0200, Alexandru Moise wrote: > since 94310cb we've been able to soft offline 1G hugepages at the PGD > level, however x86_64 gigantic hugepages are at the PUD level so we > should add an extra check to account for hstate order at PUD level. Have you tested other

[PATCH] mm/madvise: enable soft offline of HugeTLB pages at PUD level

2017-09-13 Thread Alexandru Moise
since 94310cb we've been able to soft offline 1G hugepages at the PGD level, however x86_64 gigantic hugepages are at the PUD level so we should add an extra check to account for hstate order at PUD level. I'm not sure if this also applies to 5 level page tables on x86_64 however. Tested with 4 le