Thread (67 messages) 67 messages, 6 authors, 2016-06-24

Re: [PATCH 05/10] mm: remove LRU balancing effect of temporary page isolation

From: Johannes Weiner <hannes@cmpxchg.org>
Date: 2016-06-08 16:03:03
Also in: lkml

On Wed, Jun 08, 2016 at 04:39:44PM +0900, Minchan Kim wrote:
On Mon, Jun 06, 2016 at 03:48:31PM -0400, Johannes Weiner wrote:
quoted
@@ -832,9 +854,9 @@ static void __pagevec_lru_add_fn(struct page *page, struct lruvec *lruvec,
  * Add the passed pages to the LRU, then drop the caller's refcount
  * on them.  Reinitialises the caller's pagevec.
  */
-void __pagevec_lru_add(struct pagevec *pvec)
+void __pagevec_lru_add(struct pagevec *pvec, bool new)
 {
-	pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, NULL);
+	pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, (void *)new);
 }
Just trivial:

'new' argument would be not clear in this context what does it mean
so worth to comment it, IMO but no strong opinion.
True, it's a little mysterious. I'll document it.
Other than that,

Acked-by: Minchan Kim <minchan@kernel.org>
Thanks!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help