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.