lapic timer: Improve lapic timer vector code
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 3 May 2009 04:49:15 +0000 (12:49 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 3 May 2009 11:22:46 +0000 (19:22 +0800)
commit5119f32b8c609aa1ef19bf272dac052ca1c2397c
tree1bfbc895b1ea21615637eef53281b7c31a596fb2
parentf62b83b2b704db3ba380175f08d871adc0962a92
lapic timer: Improve lapic timer vector code

- Check for a non-zero td->td_nest_count before allowing the processing
  to occur.  Mainly to allow interrupt thread preemption to work for
  slow interrupts
- Increment V_INTR statistic, so vm.stats.sys.v_intr shows correct value,
  i.e. 'Int' field in systat -vm

Submitted-by: dillon@
sys/platform/pc32/apic/apic_vector.s