DragonFly-2.3.1.140.g968f1 master sys/net if_poll.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Thu May 28 00:40:02 PDT 2009
commit 968f17f730b9eb5ab8f9d03e98e559015ab4cac9
Author: Sepherosa Ziehau <sephe at 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
More information about the Commits
mailing list