Thread (10 messages) 10 messages, 2 authors, 2016-06-01

Re: 答复: [PATCH] reusing of mapping page supplies a way for file page allocation under low memory due to pagecache over size and is controlled by sysctl parameters. it is used only for rw page allocation rather than fault or readahead allocation. it is like...

From: zhouxianrong <hidden>
Date: 2016-06-01 09:56:13
Also in: linux-fsdevel

ok, the idea is not better, thank you

On 2016/6/1 17:49, Michal Hocko wrote:
On Wed 01-06-16 17:06:09, zhouxianrong wrote:
quoted
quoted
Why would you want to reuse a page about which you have no idea about
its age compared to the LRU pages which would be mostly clean as well?
I mean this needs a deep justification!
reusing could not reuse page with page_mapcount > 0; it only reuse
a pure file page without mmap. only file pages producted by rw
syscall can be reuse; so no AF consideration for it and just use
active/inactive flag to distinguish.
I am sorry but I do not follow.
--
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