Thread (19 messages) 19 messages, 5 authors, 2020-03-30

Re: [RFC PATCH v2 1/3] meminfo_extra: introduce meminfo extra

From: Alexey Dobriyan <hidden>
Date: 2020-03-25 18:23:43
Also in: linux-mm, lkml

On Tue, Mar 24, 2020 at 12:46:45PM +0100, Greg KH wrote:
On Tue, Mar 24, 2020 at 08:37:38PM +0900, Jaewon Kim wrote:
 
quoted
I don't know other cases in other platform.
Not desperately needed but I think we need one userspace knob to see overall hidden huge memory.
Why?  Who wants that?  What would userspace do with that?  And what
exactly do you want to show?

Is this just a debugging thing?  Then use debugfs for that, not proc.
Yes, please use debugfs. Android can ban it in production all at once.
Isn't that what the DRM developers are starting to do?
quoted
Additionally I'd like to see all those hidden memory in OutOfMemory log.
How is anything hidden, can't you see it in the slab information?
There real usecase for something like that is vmware baloon driver.
Two VM instances oversteal pages one from another resulting in guest OOM
which looks like one giant get_free_page() memory leak from inside VM.

I don't know how often this type of issue happens nowadays but countless
OOM support tickets were filed and closed over this nonsense.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help