Anthony Towns <aj@azure.humbug.org.au> wrote:
> No it wouldn't; it'd just require you to have two extra ints, and something 
> that
> ran every so often (and as part of any syscall that tells userspace the 
> uptime),
> that does:
> 
>       static unsigned last_uptime = 0;
>       static unsigned wraps = 0;
>       if (uptime < last_uptime) wraps++;
>       last_uptime = uptime;
> 
> You could probably even do it in userspace, really, with some care.

        This is the most sensible answer I've heard about this (and I've
bitched about the limitation a lot). Maybe it's time for me to delve into
the kernel source for the first time in 10 years.

                - Tyler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to