> > In case we are so low on memory that trans_pgd_create_copy() fails to > > allocate the linear map that uses the large pages (the size of the > > page table is tiny) the kexec fails during kexec load time (not during > > reboot time), as out of memory. The MMU enabled kexec reboot is always > > on, and we should not have several ways to do kexec reboot as it makes > > the kexec reboot unpredictable in terms of performance, and also prone > > to bugs by having a common MMU enabled path and less common path when > > we are low on memory which is never tested. > > I think this makes sense, especially since it will fail during the kexec > load time rather than reboot. > > I'm ok in principle with this series but I'd need to convince James > Morse to have a another look since he followed it more closely than me. > Could you please rebase it against 5.15-rc1? Sure, I will send it out soon. Thanks, Pasha