Rework the Linux-compat timer code
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 30 Aug 2019 19:32:33 +0000 (15:32 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 1 Oct 2019 14:17:01 +0000 (10:17 -0400)
commit54ac2955744a4e23136c0cf32c23c6ccec143a25
tree8ddd2a9a75f32284eb98be1e6d5b0c90933bb328
parent3094f1b12301bbc630d3fbf7e692c2a9f39219d9
Rework the Linux-compat timer code

Our alarm code is mostly sufficient to do the things Linux's timers do.
The old code was unable to cancel timers and was just a huge hack.  This
is just a moderate hack.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/linux/compat_todo.h