f-stack/lib
logwang 2e160f1313 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.
2018-05-10 17:53:18 +08:00
..
include Nginx: support kernel network stack, so we can do what fstack can't do, 2017-12-08 18:32:08 +08:00
opt Add tool: ipfw. 2017-11-14 16:44:32 +08:00
Makefile Ipfw: fix "invalid argument" when using `divert`. 2018-01-08 21:53:39 +08:00
ff_api.h Remove the unusable api `ff_socketpair`. 2017-12-27 14:59:15 +08:00
ff_api.symlist Nginx: support kernel network stack, so we can do what fstack can't do, 2017-12-08 18:32:08 +08:00
ff_compat.c Fix bug: undefined refrence to `fueword`. 2017-10-25 15:16:28 +08:00
ff_config.c Fix bug: freebsd sysctl config not work. 2017-09-21 15:03:05 +08:00
ff_config.h Misc: add "extern C" in public header files. 2018-01-02 18:22:40 +08:00
ff_dpdk_if.c ff_kern_timeout: optimize the timecounter. 2018-01-19 21:03:20 +08:00
ff_dpdk_if.h Support RX/TX offload according to HW's capability 2017-05-06 21:52:25 +08:00
ff_dpdk_kni.c Use general protocol header length in protocol filter. 2017-11-21 11:20:14 +08:00
ff_dpdk_kni.h fix KNI: Out of memory 2017-06-12 16:12:22 +08:00
ff_dpdk_pcap.c init 2017-04-21 18:43:26 +08:00
ff_dpdk_pcap.h init 2017-04-21 18:43:26 +08:00
ff_epoll.c Fix #124 2017-12-27 11:28:49 +07:00
ff_epoll.h Misc: add "extern C" in public header files. 2018-01-02 18:22:40 +08:00
ff_errno.h init 2017-04-21 18:43:26 +08:00
ff_event.h Misc: add "extern C" in public header files. 2018-01-02 18:22:40 +08:00
ff_freebsd_init.c Support nginx reload. 2017-08-23 16:54:32 +08:00
ff_glue.c FreeBSD: initialize `mp_ncpus`. 2018-01-18 21:08:22 +08:00
ff_host_interface.c ff_kern_timeout: optimize the timecounter. 2018-01-19 21:03:20 +08:00
ff_host_interface.h ff_kern_timeout: optimize the timecounter. 2018-01-19 21:03:20 +08:00
ff_ini_parser.c init 2017-04-21 18:43:26 +08:00
ff_ini_parser.h init 2017-04-21 18:43:26 +08:00
ff_init.c Simplify startup arguments and add ff_fdisused. 2017-08-08 22:36:49 +08:00
ff_init_main.c init 2017-04-21 18:43:26 +08:00
ff_kern_condvar.c Add tool: ifconfig. 2017-06-06 16:52:52 +08:00
ff_kern_environment.c init 2017-04-21 18:43:26 +08:00
ff_kern_intr.c init 2017-04-21 18:43:26 +08:00
ff_kern_subr.c Add tool: ngctl. 2017-11-01 17:38:22 +08:00
ff_kern_synch.c FreeBSD misc: add a macro to turn on NETGRAPH option and return error when call sleep 2017-10-27 18:08:44 +08:00
ff_kern_timeout.c kern_timeout: decrease the cpu usage of timer. 2018-05-10 17:53:18 +08:00
ff_lock.c init 2017-04-21 18:43:26 +08:00
ff_msg.h Add tool: ipfw. 2017-11-14 16:44:32 +08:00
ff_ng_base.c Add tool: ngctl. 2017-11-01 17:38:22 +08:00
ff_ngctl.c Add tool: ngctl. 2017-11-01 17:38:22 +08:00
ff_route.c Add tool: ngctl. 2017-11-01 17:38:22 +08:00
ff_subr_prf.c init 2017-04-21 18:43:26 +08:00
ff_syscall_wrapper.c API: [BugFix] On success, `ff_sendmsg` return the number of chars sent. 2018-04-09 11:22:26 +08:00
ff_veth.c Fix ff_rss_check function bug. 2017-08-28 17:12:07 +08:00
ff_veth.h Fix ff_rss_check function bug. 2017-08-28 17:12:07 +08:00
ff_vfs_ops.c init 2017-04-21 18:43:26 +08:00