Thread (40 messages) flat view 40 messages, 5 authors, 2017-06-02

Re: [PATCH] mm: introduce MADV_CLR_HUGEPAGE

From: Mike Rapoprt <hidden>
Date: 2017-05-31 12:26:04
Also in: linux-mm, lkml


On May 31, 2017 3:05:56 PM GMT+03:00, Michal Hocko [off-list ref] wrote:
On Wed 31-05-17 12:08:45, Mike Rapoport wrote:
quoted
On Tue, May 30, 2017 at 12:39:30PM +0200, Michal Hocko wrote:
[...]
quoted
quoted
Also do you expect somebody else would use new madvise? What would
be the
quoted
quoted
usecase?
I can think of an application that wants to keep 4K pages to save
physical
quoted
memory for certain phase, e.g. until these pages are populated with
very
quoted
few data. After the memory usage increases, the application may wish
to
quoted
stop preventing khugepged from merging these pages, but it does not
have
quoted
strong inclination to force use of huge pages.
Well, is actually anybody going to do that?
Well, I don't​ know, it's pretty much future telling :)
For sure, without the new madvise nobody will be even able to do that.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help