Re: [PATCH] x86/mm: Pre-allocate p4d/pud pages for vmalloc area
From: Joerg Roedel
Date: Fri Jun 26 2020 - 07:44:49 EST
On Fri, Jun 26, 2020 at 01:32:15PM +0200, Peter Zijlstra wrote:
> That is, this is boot time only, right? clone() would return -ENOMEM, as
> it's part of the normal page-table copy.
Yes, the pre-allocation happens shortly after the buddy allocator took
over from bootmem. I don't quite get what clone() has to do with it.
Joerg