------- Comment From h.carst...@de.ibm.com 2019-10-17 09:58 EDT-------
(In reply to comment #7)
> @IBM: For a kernel SRU request we would need a test case.
> Since the terminology between Linux, HMC in DPM mode and HMC in classic mode
> is different,
> am I right assuming that we talk (in terms of classic mode, that's what we
> have) about:
> Activation Profile --> Storage
> and then
> Central Storage:
> Initial n GB
> and
> Reserved m GB
> and after a re-activation of the LPAR, incl. IPL, free must only show n GB,
> right?

Yes, that's correct. We are talking about the "Reserved" field with "Central 
Storage".
I wouldn't know how to write a test case here, since the kernel brought up all 
"reserved"/"standby" memory already before user space can figure out anything.

The only thing that works: _if_ you know that an LPAR is configured with
"Reserved" memory then the last line of the output of lsmem must _not_
look this:

Total offline memory:      0B

But instead contain a value that is not zero.

We may play some tricks about to which (Linux) memory zone got added,
but that changed in the past - and I really wouldn't rely on that for a
test case.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1848492

Title:
  Change Config Option CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE from yes to
  no

Status in Ubuntu on IBM z Systems:
  Triaged
Status in linux package in Ubuntu:
  New

Bug description:
  The Ubuntu kernel configuration contains 
CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=y for s390.
  This causes all standby memory configured for an LPAR to be used at IPL time.

  Note that this is definetaly not what a user wants on s390.
  The normal process is: define a certain amount of "base" memory which the 
system should use when IPL'ed, and define also a certain amount of "standby" 
memory which can be (also only partially) be additionaly used when necessary.
  Also note that it is *not* possible to add additional memory to a runnung 
system, besides the amount of memory specified as "standby".

  Therefore please change the kernel config option
  CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE to "n" for s390.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1848492/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to