lkml.org 
[lkml]   [1999]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: read_swap_cache_async() question
On Wed, 10 Nov 1999, Andrea Arcangeli wrote:

>On Tue, 9 Nov 1999, Manfred Spraul wrote:
>
>>I think something like this is missing (untested):
>>
>> out_free_page:
>>+ if(wait)
>>+ wait_on_page(found_page);
>> __free_page(new_page);
>
>Agreed.

Woops, no. it's not necessary. I forgot lookup_swap_cache blocks if the
page is locked.

Andrea


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.051 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site