Thread (25 messages) 25 messages, 5 authors, 2016-06-08

RE: mm: pages are not freed from lru_add_pvecs after process termination

From: Odzioba, Lukasz <hidden>
Date: 2016-06-08 08:51:07
Also in: lkml

On Tue 07-06-16 13:20:00, Michal Hocko wrote:
I guess you want something like posix_memalign or start faulting in from
an aligned address to guarantee you will fault 2MB pages. 
Good catch.
Besides that I am really suspicious that this will be measurable at all.
I would just go and spin a patch assuming you are still able to trigger
OOM with the vanilla kernel. 
Yes, I am still able to trigger OOM, the tests I did are  more like sanity
checks rather than benchmarks. lru_cache_add takes very little time
so it was rather to look for some unexpected side effects.

Thank,
Lukas

--
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