Re: [RFC] Page table sharing

Linus Torvalds (torvalds@transmeta.com)
Mon, 18 Feb 2002 17:48:11 -0800 (PST)


On Mon, 18 Feb 2002, Rik van Riel wrote:
>
> We'll need protection from the swapout code.

Absolutely NOT.

If the swapout code unshares or shares the PMD, that's a major bug.

The swapout code doesn't need to know one way or the other, because the
swapout code never actually touches the pmd itself, it just follows the
pointers - it doesn't ever need to worry about the pmd counts at all.

Linus

-
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/