看板 DFBSD_commit 關於我們 聯絡資訊
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