Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2004 14:53:00 -0600
From:      Alan Cox <alc@cs.rice.edu>
To:        Alan Cox <alc@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/i386 pmap.c
Message-ID:  <20040201205300.GC22987@cs.rice.edu>
In-Reply-To: <200402012014.i11KE1PD082693@repoman.freebsd.org>
References:  <200402012014.i11KE1PD082693@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 01, 2004 at 12:14:01PM -0800, Alan Cox wrote:
> alc         2004/02/01 12:14:01 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/i386/i386        pmap.c 
>   Log:
>   Eliminate all TLB shootdowns by pmap_pte_quick(): By temporarily pinning
>   the thread that calls pmap_pte_quick() and by virtue of the page queues
>   lock being held, we can manage PADDR1/PMAP1 as a CPU private mapping.
>   
>   The most common effect of this change is to reduce the overhead of the page
>   daemon on multiprocessors.
>   
>   In collaboration with:  tegge
>   
>   Revision  Changes    Path
>   1.462     +52 -13    src/sys/i386/i386/pmap.c

If you want to see the number of IPIs for TLB shootdown that are avoided
on an SMP, run "sysctl debug.PMAP1changed".  After running a buildworld
"-j4" on a machine configured with 148MB, I got

debug.PMAP1changed: 3148562



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040201205300.GC22987>