Re: VM-related Oops: 2.4.15pre1

Rik van Riel (riel@conectiva.com.br)
Mon, 19 Nov 2001 22:06:02 -0200 (BRST)


On Mon, 19 Nov 2001, Linus Torvalds wrote:
> On Mon, 19 Nov 2001, Rik van Riel wrote:
> >
> > Oh dear, that's an interesting case, too.
> >
> > __add_to_page_cache() blindly sets the PG_locked bit, but
> > it's possible for other functions to acquire the page lock
> > before that.
>
> No. The page is either already locked (add_to_swap_cache()), or
> exclusively owned by us..

The thing is, the "exclusively owned" situation cannot
be checked in any way, except maybe through the fact
that page->mapping==NULL ...

regards,

Rik

-- 
Shortwave goes a long way:  irc.starchat.net  #swl

http://www.surriel.com/ http://distro.conectiva.com/

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