Messages in this thread | | | From | Daniel Phillips <> | Subject | Re: [RFC] Page table sharing | Date | Wed, 20 Feb 2002 15:57:37 +0100 |
| |
On February 20, 2002 03:38 pm, Hugh Dickins wrote: > On Wed, 20 Feb 2002, Daniel Phillips wrote: > > > > Looking at the current try_to_swap_out code I see only a local invalidate, > > flush_tlb_page(vma, address), why is that? How do we know that this mm could > > not be in context on another cpu? > > I made the same mistake a few months ago: not noticing #ifndef CONFIG_SMP > in the header. arch/i386/kernel/smp.c has the real i386 flush_tlb_page().
OK, well if I'm making the same mistakes then I'm likely on the right track ;)
So it seems that what we need for tlb invalidate of shared page tables is not worse than what we already have, though there's some extra bookkeeping to handle.
Why would we run into your page dirty propagation problem with shared page tables and not with the current code?
-- 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/
| |