Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 2010 03:23:53 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/amd64 cpu_switch.S pmap.c src/sys/i386/i386 pmap.c
Message-ID:  <201010150324.o9F3OHNY075013@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2010-10-15 03:23:53 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/amd64/amd64      cpu_switch.S pmap.c 
    sys/i386/i386        pmap.c 
  Log:
  SVN rev 213887 on 2010-10-15 03:23:53Z by alc
  
  MFC r209789
    Correctly maintain the per-cpu field "curpmap" on amd64 just like we
    do on i386.  The consequences of not doing so on amd64 became apparent
    with the introduction of the COUNT_IPIS and COUNT_XINVLTLB_HITS
    options.  Specifically, single-threaded applications were generating
    unnecessary IPIs to shoot-down the TLB on other processors.
  
  MFC r209887
    Reduce the number of global TLB shootdowns generated by pmap_qenter().
    Specifically, teach pmap_qenter() to recognize the case when it is being
    asked to replace a mapping with the very same mapping and not generate
    a shootdown.
  
  Revision    Changes    Path
  1.169.2.3   +10 -12    src/sys/amd64/amd64/cpu_switch.S
  1.667.2.13  +11 -6     src/sys/amd64/amd64/pmap.c
  1.645.2.16  +9 -6      src/sys/i386/i386/pmap.c



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