Re: [PATCH] Snapshot of shared page tables

From: Daniel Phillips (phillips@arcor.de)
Date: Wed Oct 02 2002 - 12:00:19 EST


On Wednesday 02 October 2002 18:51, Daniel Phillips wrote:
> On Wednesday 02 October 2002 16:57, Dave McCracken wrote:
> >
> > Ok, here it is. This patch works for my simple tests, both under UP and
> > SMP, including under memory pressure. I'd appreciate anyone who'd like to
> > take it and beat on it. Please let me know of any problems you find.
> >
> > The patch is against this morning's 2.5 BK tree.
>
> Interesting, you substituted pte_page_lock(ptepage) for mm->page_table_lock.
> Could you wax poetic about that, please?

Never mind, I see the logic. This reflects the fact that page_table_lock
is insufficient protection when pte pages are shared. So you solved that
problem and at the same time improved the scalability for the general case
immensely, without adding any new overhead. Very nice!

-- 
Daniel
-
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 : Mon Oct 07 2002 - 22:00:35 EST