cvs commit: src/sys/i386/i386 machdep.c sys_machdep.c vm_machdep.c src/sys/kern subr_witness.c

Attilio Rao attilio at FreeBSD.org
Tue May 29 18:55:43 UTC 2007


attilio     2007-05-29 18:55:41 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        machdep.c sys_machdep.c vm_machdep.c 
    sys/kern             subr_witness.c 
  Log:
  Fix some problems introduced with the last descriptors tables locking
  patch:
  - Do the correct test for ldt allocation
  - Drop dt_lock just before to call kmem_free (since it acquires blocking
    locks inside)
  - Solve a deadlock with smp_rendezvous() where other CPU will wait
    undefinitively for dt_lock acquisition.
  - Add dt_lock in the WITNESS list of spinlocks
  
  While applying these modifies, change the requirement for user_ldt_free()
  making that returning without dt_lock held.
  
  Tested by: marcus, tegge
  Reviewed by: tegge
  Approved by: jeff (mentor)
  
  Revision  Changes    Path
  1.653     +2 -1      src/sys/i386/i386/machdep.c
  1.110     +15 -3     src/sys/i386/i386/sys_machdep.c
  1.281     +4 -4      src/sys/i386/i386/vm_machdep.c
  1.232     +1 -0      src/sys/kern/subr_witness.c


More information about the cvs-src mailing list