DragonFly BSD
DragonFly commits List (threaded) for 2003-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/i386/i386 genassym.c src/sys/i386/isa ipl.s ipl_funcs.c src/sys/kern kern_lock.c kern_slaballoc.c lwkt_thread.c src/sys/sys globaldata.h slaballoc.h thread.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 2 Oct 2003 15:27:00 -0700 (PDT)

dillon      2003/10/02 15:27:00 PDT

  Modified files:
    sys/i386/i386        genassym.c 
    sys/i386/isa         ipl.s ipl_funcs.c 
    sys/kern             kern_lock.c kern_slaballoc.c 
                         lwkt_thread.c 
    sys/sys              globaldata.h slaballoc.h thread.h 
  Log:
  Fix a number of interrupt related issues.
  
  * Don't access kernel_map in free(), defer such operations to malloc()
  
  * Fix a slab allocator panic due to mishandling of malloc size slab
    limit checks on machines with small amounts of memory (the slab allocator
    reduces the size of the zone on low-memory machines but did not handle the
    reduced size properly).
  
  * Add thread->td_nest_count to prevent splz recursions from underflowing
    the kernel stack.  This can occur because we drop the critical section
    when calling sched_ithd() in order to allow it to preempt.
  
  * Properly adjust intr_nesting_level around FAST interrupts
  
  * Adjust the debugging printf() in lockmgr to only complain about blockable
    lock requests from interrupts.
  
  Revision  Changes    Path
  1.30      +1 -0      src/sys/i386/i386/genassym.c
  1.14      +30 -2     src/sys/i386/isa/ipl.s
  1.8       +5 -1      src/sys/i386/isa/ipl_funcs.c
  1.8       +34 -12    src/sys/kern/kern_lock.c
  1.7       +37 -11    src/sys/kern/kern_slaballoc.c
  1.34      +22 -10    src/sys/kern/lwkt_thread.c
  1.17      +1 -1      src/sys/sys/globaldata.h
  1.4       +2 -0      src/sys/sys/slaballoc.h
  1.33      +1 -0      src/sys/sys/thread.h




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]