Thread (5 messages) flat view 5 messages, 3 authors, 2020-06-09

Re: [PATCHv4] powerpc/crashkernel: take "mem=" option into account

From: Michael Ellerman <hidden>
Date: 2020-06-09 06:05:05
Also in: kexec

On Wed, 1 Apr 2020 22:00:44 +0800, Pingfan Liu wrote:
'mem=" option is an easy way to put high pressure on memory during some
test. Hence after applying the memory limit, instead of total mem, the
actual usable memory should be considered when reserving mem for
crashkernel. Otherwise the boot up may experience OOM issue.

E.g. it would reserve 4G prior to the change and 512M afterward, if passing
crashkernel="2G-4G:384M,4G-16G:512M,16G-64G:1G,64G-128G:2G,128G-:4G", and
mem=5G on a 256G machine.

[...]
Applied to powerpc/next.

[1/1] powerpc/crashkernel: Take "mem=" option into account
      https://git.kernel.org/powerpc/c/be5470e0c285a68dc3afdea965032f5ddc8269d7

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help