On Wed, Aug 23, 2006 at 09:09:20AM -0700, Andrew Morton ([email protected]) wrote: > > I can put nanoseconds as timer interval too (with aligned_u64 as David > > mentioned), and put it for timeout value too - 64 bit nanosecods ends up > > with 58 years, probably enough. > > Structures with u64 a really not so good idea. > > > > OK. One could do u32 seconds/u32 nsecs, but a simple aligned_u64 will be > better for 64-bit machines, and OK for 32-bit. aligned_u64 is not exported to userspace, so in the last patchset I just use __u64 as syscall parameter. -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: "Jari Sundell" <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: Alexey Kuznetsov <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: "Jari Sundell" <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: David Miller <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: "Jari Sundell" <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: Andrew Morton <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: Andrew Morton <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- Prev by Date: Re: kernel panic when sending MIDI sequencer events
- Next by Date: Re: [PATCH 2/6] BC: beancounters core (API)
- Previous by thread: Re: [take12 0/3] kevent: Generic event handling mechanism.
- Next by thread: Re: [take12 0/3] kevent: Generic event handling mechanism.
- Index(es):