Hi Pablo, I have finally been able to take a little time and review your rbtree based alarm implementation. I looks good, I haven't found major showstoppers here. Here is a small patch set which optimizes the code a little. Max --- Max Kellermann (5): minor whitespace cleanup use list_for_each_entry() make alarm_run_queue a local variable use "for" loop instead of "while" eliminate duplicate initialization include/queue.h | 4 ++-- src/alarm.c | 21 +++++++++------------ src/main.c | 6 +++--- src/netlink.c | 14 +++++++------- src/run.c | 12 ++++++------ 5 files changed, 27 insertions(+), 30 deletions(-) - To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html