Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 26 Jun 2020 13:32:15 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] x86/mm: Pre-allocate p4d/pud pages for vmalloc area |
| |
On Fri, Jun 26, 2020 at 01:31:01PM +0200, Peter Zijlstra wrote: > On Fri, Jun 26, 2020 at 01:17:11PM +0200, Joerg Roedel wrote: > > On Fri, Jun 26, 2020 at 01:07:31PM +0200, Peter Zijlstra wrote: > > > Can't we now remove arch_sync_kernel_mappings() from this same file? > > > > Only if we panic on allocation failure. > > I think we do that in plenty places already, so sure ;-)
That is, this is boot time only, right? clone() would return -ENOMEM, as it's part of the normal page-table copy.
| ![\](/images/icornerr.gif) |