[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180528143400.4fc68de4@ezekiel.suse.cz>
Date: Mon, 28 May 2018 14:34:00 +0200
From: Petr Tesarik <ptesarik@...e.cz>
To: ebiederm@...ssion.com (Eric W. Biederman)
Cc: dzickus@...hat.com, Neil Horman <nhorman@...hat.com>,
Tony Luck <tony.luck@...el.com>, bhe@...hat.com,
Michael Ellerman <mpe@...erman.id.au>,
kexec@...ts.infradead.org, linux-kernel@...r.kernel.org,
Hari Bathini <hbathini@...ux.vnet.ibm.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Dave Young <dyoung@...hat.com>, Ingo Molnar <mingo@...nel.org>,
Vivek Goyal <vgoyal@...hat.com>
Subject: Re: [PATCH] kdump: add default crashkernel reserve kernel config
options
On Fri, 25 May 2018 15:00:13 -0500
ebiederm@...ssion.com (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
Powered by blists - more mailing lists