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

Attilio Rao attilio at
Thu Sep 20 14:21:42 PDT 2007

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 
  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.
  - 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

More information about the cvs-src mailing list