lkml.org 
[lkml]   [1999]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: lookup_swap_cache: waiting on a page without holding the count?
Hi,

On 23 Jun 1999 18:13:28 +0200, Trond Myklebust
<trond.myklebust@fys.uio.no> said:

> Is the call to __wait_on_page that is made in the lookup_swap_cache
> function correct? Shouldn't we rather be doing the following in order
> to ensure the page is held during the wait?

It makes no difference at all as far as correctness is concerned. The
lock bit and wait queue semantics are all preserved over reuse of a
page.

--Stephen

-
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:52    [W:0.044 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site