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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
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@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]