History log of /f-stack/freebsd/sys/_callout.h (Results 1 – 4 of 4)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v1.21.1
# 22ce4aff 31-Aug-2021 fengbojiang <[email protected]>

FreeBSD: Upgrade to FreeBSD-releng-13.0 compiled, to be tested.


Revision tags: v1.21, v1.20, v1.13, v1.12
# 2e160f13 10-May-2018 logwang <[email protected]>

kern_timeout: decrease the cpu usage of timer.

There's a bug of last version, every tick, the timer will traverse all the
entries in callwheel, when lots of connections comming, the callout
process

kern_timeout: decrease the cpu usage of timer.

There's a bug of last version, every tick, the timer will traverse all the
entries in callwheel, when lots of connections comming, the callout
process will use lots of cpu resources.

This commit fixes it, every tick, check the bucket which is hashed with current
tick, if there are entries, compare the callout tick, and invoke
callbacks.

show more ...


# 5e5c25c3 10-May-2018 logwang <[email protected]>

kern_timeout: decrease the cpu usage of timer.

There's a bug of last version, every tick, the timer will traverse all the
entries in callwheel, when lots of connections comming, the callout
process

kern_timeout: decrease the cpu usage of timer.

There's a bug of last version, every tick, the timer will traverse all the
entries in callwheel, when lots of connections comming, the callout
process will use lots of cpu resources.

This commit fixes it, every tick, check the bucket which is hashed with current
tick, if there are entries, compare the callout tick, and invoke
callbacks.

show more ...


Revision tags: v1.11
# a9643ea8 21-Apr-2017 logwang <[email protected]>

init