Re: [PATCH] vmscan: move referenced VM_EXEC pages to active list

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

 



On Sat, Oct 23, 2010 at 7:51 AM, Mandeep Singh Baines <msb@xxxxxxxxxxxx> wrote:
> In commit 64574746, "vmscan: detect mapped file pages used only once",
> Johannes Weiner, added logic to page_check_reference to cycle again
> used once pages.
>
> In commit 8cab4754, "vmscan: make mapped executable pages the first
> class citizen", Wu Fengguang, added logic to shrink_active_list which
> protects file-backed VM_EXEC pages by keeping them in the active_list if
> they are referenced.
>
> This patch adds logic to move such pages from the inactive list to the
> active list immediately if they have been referenced. If a VM_EXEC page
> is seen as referenced during an inactive list scan, that reference must
> have occurred after the page was put on the inactive list. There is no
> need to wait for the page to be referenced again.
>
> Change-Id: I17c312e916377e93e5a92c52518b6c829f9ab30b
> Signed-off-by: Mandeep Singh Baines <msb@xxxxxxxxxxxx>

It seems to be similar to http://www.spinics.net/lists/linux-mm/msg09617.html.
I don't know what it is going. Shaohua?



-- 
Kind regards,
Minchan Kim

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  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]