DragonFly-2.3.1.140.g968f1 master sys/net if_poll.c

看板DFBSD_commit作者時間16年前 (2009/05/28 16:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1A7aJ500 (DFBSD_commit)