DragonFly commits List (threaded) for 2009-05
DragonFly-126.96.36.199.g968f1 master sys/net if_poll.c
Author: Sepherosa Ziehau <firstname.lastname@example.org>
Date: Thu May 28 13:38:37 2009 +0800
ifpoll: Rework systimer related bits after lapic timer could be used.
Percpu systimers were commented out before lapic timer code was ready,
mainly to avoid high frequency timers staggering cross CPUs, which
may double the timer frequency and timer ipi rate. After the lapic
timer is ready, we no longer need to worry cross CPUs timer frequency
staggering and timer ipi boardcasting, so percpu systimer could be
safely enabled at almost no cost.
However, care must be taken to avoid CPU-local lapic timer frequency
staggering, since TX, RX and status polling could use different
frequency; the current implementation let RX systimer give TX and status
polling a piggyback to avoid this kind of timer frequency staggering.
Summary of changes:
sys/net/if_poll.c | 760 +++++++++++++++++------------------------------------
1 files changed, 244 insertions(+), 516 deletions(-)
DragonFly BSD source repository