[Babel-users] [PATCH] Fix ifup bug in send_multicast

Juliusz Chroboczek jch at irif.fr
Fri Dec 14 16:46:46 GMT 2018


> In glibc (not musl so far as I know) the clock_getttime lookup is
> incredibly fast because it just maps in the relevant kernel page and
> does the work without a syscall,

In musl too:

  https://git.musl-libc.org/cgit/musl/tree/src/time/clock_gettime.c

Also, babeld doesn't make that many calls to clock_gettime -- the current
time is cached in the global variable "now", which is only updated once
per call to select.

-- Juliusz



More information about the Babel-users mailing list