DragonFly commits List (threaded) for 2009-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.3.1.140.g968f1 master sys/net if_poll.c
commit 968f17f730b9eb5ab8f9d03e98e559015ab4cac9
Author: Sepherosa Ziehau <sephe@dragonflybsd.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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/968f17f730b9eb5ab8f9d03e98e559015ab4cac9
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]