On Fri, 25 May 2018 15:00:13 -0500 ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote: >[...] > The ultimate point is that the absolute best we can do is to run a > kernel in memory that we never use for anything else and then we have a > fighting chance of getting the system working and getting a report of > the failure out to somewhere. > > > Anyway, of course we would still have to keep the current method, > > because user pages are not always filtered. For example, a major SUSE > > account runs a database in user space and also inspects its data > > structures in case of a system crash. > > And I understand the memory pressures that will encourage people to use > user pages for extra memory to run the dump capture kernel in. Short of > the presence of an IOMMU that all DMA transfers must go through I don't > see how those user pages could reliably be used. Absolutely. I fully understand that a system which reuses first kernel's memory in some way must be less reliable than the current state. However, some people are willing to trade less reliability for reduced resource consumption. Note that we're not talking about reserving a few gigs on a single machine with some terabytes of memory (i.e. less than 1% of total RAM), rather a few hundred megs of each 4-gig VM on an s390x machine (i.e. about 10% of total RAM). Petr T _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec