Re: [RFC] Page table sharing

From: Rik van Riel (riel@conectiva.com.br)
Date: Mon Feb 18 2002 - 20:22:44 EST


On Mon, 18 Feb 2002, Linus Torvalds wrote:
> On Tue, 19 Feb 2002, Daniel Phillips wrote:
> >
> > Thanks, here it is again.
>
> Daniel, there's something wrong in the locking.

> Does anybody see any reason why this doesn't work totally without the
> lock?

We'll need protection from the swapout code. It would be
embarassing if the page fault handler would run for one
mm while kswapd was holding the page_table_lock for another
mm.

I'm not sure how the page_table_share_lock is supposed
to fix that one, though.

regards,

Rik

-- 
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:17 EST