lkml.org 
[lkml]   [2016]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 0/1] memory offline issues with hugepage size > memory block size
    From
    Date
    On 09/20/2016 07:45 PM, Dave Hansen wrote:
    > On 09/20/2016 10:37 AM, Mike Kravetz wrote:
    >>
    >> Their approach (I believe) would be to fail the offline operation in
    >> this case. However, I could argue that failing the operation, or
    >> dissolving the unused huge page containing the area to be offlined is
    >> the right thing to do.
    >
    > I think the right thing to do is dissolve the whole huge page if even a
    > part of it is offlined. The only question is what to do with the
    > gigantic remnants.

    Just free them into the buddy system? Or what are the alternatives?
    Creating smaller huge pages (if supported)? That doesn't make much
    sense. Offline it completely? That's probably not what the user requested.

    Vlastimil

    \
     
     \ /
      Last update: 2016-09-22 23:58    [W:3.183 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site