[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] swap-prefetch, fix lru_cache_add_tail()
On Thursday 18 May 2006 02:54, Peter Zijlstra wrote:
> From: Peter Zijlstra <>
> lru_cache_add_tail() uses the inactive per-cpu pagevec. This causes
> normal inactive and intactive tail inserts to end up on the wrong end
> of the list.
> When the pagevec is completed by lru_cache_add_tail() but still contains
> normal inactive pages, all pages will be added to the inactive tail and
> vice versa.
> Also *add_drain*() will always complete to the inactive head.
> Add a third per-cpu pagevec to alleviate this problem.


> Signed-off-by: Peter Zijlstra <>

Signed-off-by: Con Kolivas <>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-05-18 08:42    [W:0.026 / U:2.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site