Re: BUG? i386 TLB Flushing of Global Pages

From: Ingo Molnar (mingo@chiara.csoma.elte.hu)
Date: Mon Jan 17 2000 - 08:56:03 EST


On Mon, 17 Jan 2000, Manfred Spraul wrote:

> > This may be intentional for some uses of __flush_tlb(), but there are
> > several places where
> > Linux attempts to flush TLB entries for global pages, such as in the smp
> > boot code.
> Yes, I agree this is a bug. Which functions use the global bit and
> assume that flush_tlb_all() flushes them?
>
> * zap_low_mappings()
> * kmap: kmap_prot contains _PAGE_GLOBAL, ie all kmap flushes are wrong !

yeah, this is indeed a bug and it also explains the one remaining 64GB
mystery: the extra invlpg in highmem.c. Patch (with other SMP fixes) will
follow shortly.

-- mingo

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



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:15 EST