Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1625857

Re: [RFC] mm/madvise: Enable (soft|hard) offline of HugeTLB pages at PGD level

From Anshuman Khandual <khandual@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [RFC] mm/madvise: Enable (soft|hard) offline of HugeTLB pages at PGD level
Date 2017-04-19 08:50 +0200
Message-ID <txRB8-8qH-9@gated-at.bofh.it> (permalink)
References <txOtz-6yz-3@gated-at.bofh.it> <txRhL-8jb-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/19/2017 11:50 AM, Aneesh Kumar K.V wrote:
> Anshuman Khandual <khandual@linux.vnet.ibm.com> writes:
> 
>> Though migrating gigantic HugeTLB pages does not sound much like real
>> world use case, they can be affected by memory errors. Hence migration
>> at the PGD level HugeTLB pages should be supported just to enable soft
>> and hard offline use cases.
> 
> In that case do we want to isolated the entire 16GB range ? Should we
> just dequeue the page from hugepage pool convert them to regular 64K
> pages and then isolate the 64K that had memory error ?

Though its a better thing to do, assuming that we can actually dequeue
the huge page and push it to the buddy allocator as normal 64K pages
(need to check on this as the original allocation happened from the
memblock instead of the buddy allocator, guess it should be possible
given that we do similar stuff during memory hot plug). In that case
we will also have to consider the same for the PMD based HugeTLB pages
as well or it should be only for these gigantic huge pages ?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC] mm/madvise: Enable (soft|hard) offline of HugeTLB pages at PGD level Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-04-19 05:30 +0200
  Re: [RFC] mm/madvise: Enable (soft|hard) offline of HugeTLB pages at PGD level "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2017-04-19 08:30 +0200
    Re: [RFC] mm/madvise: Enable (soft|hard) offline of HugeTLB pages at  PGD level Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-04-19 08:50 +0200
      Re: [RFC] mm/madvise: Enable (soft|hard) offline of HugeTLB pages at  PGD level Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-04-20 07:10 +0200
        [PATCH] mm/madvise: Dont poison entire HugeTLB page for single page errors Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-04-20 13:10 +0200

csiph-web