Re: [patch 02/10] fs: cachefiles: use add_to_page_cache_lru()

2014-02-12 Thread Mel Gorman
On Mon, Feb 03, 2014 at 07:53:34PM -0500, Johannes Weiner wrote: > This code used to have its own lru cache pagevec up until a0b8cab3 > ("mm: remove lru parameter from __pagevec_lru_add and remove parts of > pagevec API"). Now it's just add_to_page_cache() followed by > lru_cache_add(), might as w

Re: [patch 02/10] fs: cachefiles: use add_to_page_cache_lru()

2014-02-09 Thread Johannes Weiner
On Sat, Feb 08, 2014 at 09:43:35AM -0200, Rafael Aquini wrote: > On Mon, Feb 03, 2014 at 07:53:34PM -0500, Johannes Weiner wrote: > > This code used to have its own lru cache pagevec up until a0b8cab3 > > ("mm: remove lru parameter from __pagevec_lru_add and remove parts of > > pagevec API"). Now

Re: [patch 02/10] fs: cachefiles: use add_to_page_cache_lru()

2014-02-08 Thread Rafael Aquini
On Mon, Feb 03, 2014 at 07:53:34PM -0500, Johannes Weiner wrote: > This code used to have its own lru cache pagevec up until a0b8cab3 > ("mm: remove lru parameter from __pagevec_lru_add and remove parts of > pagevec API"). Now it's just add_to_page_cache() followed by > lru_cache_add(), might as w

[patch 02/10] fs: cachefiles: use add_to_page_cache_lru()

2014-02-03 Thread Johannes Weiner
This code used to have its own lru cache pagevec up until a0b8cab3 ("mm: remove lru parameter from __pagevec_lru_add and remove parts of pagevec API"). Now it's just add_to_page_cache() followed by lru_cache_add(), might as well use add_to_page_cache_lru() directly. Signed-off-by: Johannes Weiner