lkml.org 
[lkml]   [2009]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch][v2] swap: virtual swap readahead
On Thu, Jun 04, 2009 at 10:46:28AM +0900, KAMEZAWA Hiroyuki wrote:

> I wonder (I just wonder..) can we add code like following here ?
>
> /* we do _readahead_ here. Then, we don't want to add too much jobs to vm/IO*/
> if (swp != entry)
> gfp_mask &= ~__GFP_WAIT
> > + page = read_swap_cache_async(swp, gfp_mask, vma, pos);
>
> too slow ?

Good idea, certainly worth evaluating. But not in this patch, I don't
want to change _everything_ at once :-)

Thanks, Hannes


\
 
 \ /
  Last update: 2009-06-04 12:09    [W:0.648 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site