From: Evgeniy Polyakov Subject: Re: [take12 0/3] kevent: Generic event handling mechanism. Date: Wed, 23 Aug 2006 20:22:14 +0400 Message-ID: <20060823162214.GA14623@2ka.mipt.ru> References: <20060822231129.GA18296@ms2.inr.ac.ru> <20060822.173200.126578369.davem@davemloft.net> <20060823065659.GC24787@2ka.mipt.ru> <20060823000758.5ebed7dd.akpm@osdl.org> <20060823075056.GA18029@2ka.mipt.ru> <20060823090920.18e4d1da.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Cc: Jari Sundell , David Miller , kuznet@ms2.inr.ac.ru, nmiell@comcast.net, linux-kernel@vger.kernel.org, drepper@redhat.com, netdev@vger.kernel.org, zach.brown@oracle.com, hch@infradead.org Return-path: To: Andrew Morton Content-Disposition: inline In-Reply-To: <20060823090920.18e4d1da.akpm@osdl.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, Aug 23, 2006 at 09:09:20AM -0700, Andrew Morton (akpm@osdl.org) 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