Comment 3 for bug 2026121

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

Starting with bionic, itimer will convert timeval to nsec, which is what the kernel will use internally to keep track of itimers. Specially for virtual and proc itimers, before v4.12, the kernel would use jiffies (or some form of it) to convert to/from timeval. And it would keep that conversion internally in the itimers too.

Alternatively, we could argue that we should use virtual accounting instead of tick accounting, but it looks like that would not be possible on those old kernels on amd64 unless we would go full tickless, which we don't want to.

So what is left is to find out why trusty and xenial behave differently here, and why the jiffies conversion doesn't work out with 10000 usec.

Cascardo.