Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2007 20:38:44 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   cvs commit: src/sys/amd64/include smp.h src/sys/i386/include smp.h src/sys/kern kern_switch.c kern_thread.c subr_witness.c
Message-ID:  <200709202038.l8KKcix2086739@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2007-09-20 20:38:44 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/include    smp.h 
    sys/i386/include     smp.h 
    sys/kern             kern_switch.c kern_thread.c 
                         subr_witness.c 
  Log:
  Fix some entries in the locks static table of witness.
  In particular:
  - smp_tlb_mtx is no longer used, so it is axed.
  - smp rendezvous lock isn't really a leaf spin-mutex. Its bad placement in
    the table, however, has been the source of a false positive LOR reporting
    with the dt_lock.  However, smp rendezvous lock would have had sched_lock
    there for older lock, so it wasn't still a leaf lock.
  - allpmaps is only used in ia32 architecture, so it is inserted in the
    appropriate stub.
  
  Addictionally:
  - kse_zombie_lock is no longer present, so its definition is axed out.
  - zombie_lock doesn't need to have an exported symbol, so just let's it be
    declared as static.
  
  Tested by: kris
  Approved by: jeff (mentor)
  Approved by: re
  
  Revision  Changes    Path
  1.91      +0 -1      src/sys/amd64/include/smp.h
  1.90      +0 -1      src/sys/i386/include/smp.h
  1.136     +0 -1      src/sys/kern/kern_switch.c
  1.254     +1 -1      src/sys/kern/kern_thread.c
  1.236     +8 -9      src/sys/kern/subr_witness.c



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