[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180910141946.GJ10951@dhcp22.suse.cz>
Date: Mon, 10 Sep 2018 16:19:46 +0200
From: Michal Hocko <mhocko@...nel.org>
To: Pasha Tatashin <Pavel.Tatashin@...rosoft.com>
Cc: "zaslonko@...ux.ibm.com" <zaslonko@...ux.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux Memory Management List <linux-mm@...ck.org>,
"osalvador@...e.de" <osalvador@...e.de>,
"gerald.schaefer@...ibm.com" <gerald.schaefer@...ibm.com>
Subject: Re: [PATCH] memory_hotplug: fix the panic when memory end is not on
the section boundary
On Mon 10-09-18 14:11:45, Pavel Tatashin wrote:
> Hi Michal,
>
> It is tricky, but probably can be done. Either change
> memmap_init_zone() or its caller to also cover the ends and starts of
> unaligned sections to initialize and reserve pages.
>
> The same thing would also need to be done in deferred_init_memmap() to
> cover the deferred init case.
Well, I am not sure TBH. I have to think about that much more. Maybe it
would be much more simple to make sure that we will never add incomplete
memblocks and simply refuse them during the discovery. At least for now.
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists