Commit a87ff8f7 authored by william's avatar william

reorder timeout.h so the important stuffs stays within 64-byte cache lines

parent 13cf9280
...@@ -119,10 +119,11 @@ struct timeout { ...@@ -119,10 +119,11 @@ struct timeout {
struct timeout_list *pending; struct timeout_list *pending;
/* timeout list if pending on wheel or expiry queue */ /* timeout list if pending on wheel or expiry queue */
TAILQ_ENTRY(timeout) tqe;
/* entry member for struct timeout_list lists */
struct timeout_cb callback; struct timeout_cb callback;
/* optional callback information */ /* optional callback information */
TAILQ_ENTRY(timeout) tqe;
}; /* struct timeout */ }; /* struct timeout */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment