lkml.org 
[lkml]   [2021]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/5] mm,memory_hotplug: Allocate memmap from the added memory range
    On Mon, Jan 25, 2021 at 12:02:53PM +0100, David Hildenbrand wrote:
    > Assume you have two consecutive memory blocks with 56 sizeof(struct page).
    > The first one allocates a PMD (2097152) but only consumes 1835008, the second
    > one reuses the remaining part and allocates another PMD (1835008),
    > only using parts of it.
    >
    > Ripping out a memory block, along with the PMD in the vmemmap would
    > remove parts of the vmemmap of another memory block.

    Bleh, yeah, I was confused, you are right.

    > You might want to take a look at:

    Thanks a lot for the hints, I will have a look ;-)


    --
    Oscar Salvador
    SUSE L3

    \
     
     \ /
      Last update: 2021-01-26 03:58    [W:5.890 / U:0.788 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site