Re: [RFC][PATCH] new timeofday-based soft-timer subsystem

From: Chris Friesen
Date: Tue May 03 2005 - 12:24:01 EST


Nishanth Aravamudan wrote:

but then there is another issue: the restart_block used by
sys_nanosleep() only allows for 4 unsigned long arguments, when, in
fact, nanoseconds are a 64-bit quantity in the kernel. As long as the
nanosleep() request is no more than around 4 seconds, we should be ok
using unsigned longs.

My man page for nanosleep specifies that the "nanoseconds" portion of the timespec must be under 1 billion and is of type "long". Is that no longer valid?

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/