Re: [PATCH] mm/readahead.c, mm/vmscan.c: use lru_to_page instead of list_to_page

Vlastimil Babka
2015-12-18T17:25:57Z

On 12/08/2015 03:40 PM, Geliang Tang wrote:
> list_to_page() in readahead.c is the same as lru_to_page() in vmscan.c.
> So I move lru_to_page to internal.h and drop list_to_page().

Looks like this would topically fit better to include/linux/mm_inline.h

Vlastimil