Re: read_swap_cache_async() question

Andrea Arcangeli (andrea@suse.de)
Wed, 10 Nov 1999 00:15:58 +0100 (CET)


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/