I'm going to stop here for now.  I've learned a lot about Linux memory from
this thread (but that's easy when you don't know much to begin with :)).

I guess a question to the Linux developers in Germany would be:

If vmcp is called with a buffer of 1M and the last slab in /proc/buddyinfo
is 0, would it not be reasonable to nudge the kernel to free at least one
slot up, assuming this can be done safely?

Thanks.

    -Mike

On Thu, Jul 9, 2015 at 12:53 PM, Pavelka, Tomas <[email protected]>
wrote:

> > Maybe I'll think about sudo-enabling cmmflush and checking the last
> field of /proc/buddyinfo to see if it needs to be run.
>
> I tried doing things based on the values of /proc/buddyinfo but what I
> found is that if there are zeroes in the high order slab counts, there is a
> chance that vmcp with 1M buffer will fail. But not a guarantee. Sometimes
> Linux just rearranges the slabs and finds the memory. Which makes it even
> harder to reproduce. Beware that you can spend ages debugging this ;-)
>
> Tomas
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to