Evgeniy Polyakov <[email protected]> writes: > > Let's then place there a structure with 64bit seconds and nanoseconds, > similar to timspec, but without longs there. You need 64bit (or at least more than 32bit) for the seconds, otherwise you add a y2038 problem which would be sad in new code. Remember you might be still alive then ;-) Ok one could argue that on 32bit architectures 2038 is so deeply embedded that it doesn't make much difference, but I still think it would be better to not readd it to new interfaces there. 64bit longs on 32bit is fine, as long as you use aligned_u64, never long long or u64 (which has varying alignment between i386 and x86-64) -Andi - 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/
- Follow-Ups:
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- 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.
- Prev by Date: Re: [RFC][PATCH] ps command race fix take2 [1/4] list token
- Next by Date: Re: Specify devices manually in exotic environment
- 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):