Re: [PATCH v2 1/7] mm: putback_lru_page: remove unnecessary call to page_lru_base_type()

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

 



On Mon, Aug 19, 2013 at 02:23:36PM +0200, Vlastimil Babka wrote:
> In putback_lru_page() since commit c53954a092 (""mm: remove lru parameter from
> __lru_cache_add and lru_cache_add_lru") it is no longer needed to determine lru
> list via page_lru_base_type().
> 
> This patch replaces it with simple flag is_unevictable which says that the page
> was put on the inevictable list. This is the only information that matters in
> subsequent tests.
> 
> Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx>
> Reviewed-by: Jörn Engel <joern@xxxxxxxxx>

Acked-by: Mel Gorman <mgorman@xxxxxxx>

-- 
Mel Gorman
SUSE Labs

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