Thread (33 messages) flat view 33 messages, 6 authors, 2015-02-16

Re: [PATCH v17 1/7] mm: support madvise(MADV_FREE)

From: Michal Hocko <hidden>
Date: 2015-02-06 12:58:31
Also in: linux-mm, lkml

On Thu 05-02-15 16:33:11, Shaohua Li wrote:
[...]
Did you think about move the MADV_FREE pages to the head of inactive LRU, so
they can be reclaimed easily?
Yes this makes sense for pages living on the active LRU list. I would
preserve LRU ordering on the inactive list because there is no good
reason to make the operation more costly for inactive pages. On the
other hand having tons of to-be-freed pages on the active list clearly
sucks. Care to send a patch?
-- 
Michal Hocko
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help