Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964824AbWHWKe2 (ORCPT ); Wed, 23 Aug 2006 06:34:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964826AbWHWKe2 (ORCPT ); Wed, 23 Aug 2006 06:34:28 -0400 Received: from nz-out-0102.google.com ([64.233.162.205]:30816 "EHLO nz-out-0102.google.com") by vger.kernel.org with ESMTP id S964823AbWHWKe0 (ORCPT ); Wed, 23 Aug 2006 06:34:26 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=beHgHSULzU9e4eeIs0l+3+H1splvswcg7ukPlsq7xG70/QwTeDWXDTu+jYHQaO9p70sLobd+7kpdsfRGf/tI5PeUu4COg0bDKiQCdAKAnhzOZV+UTKWhjYxLQQdEq2RX93dFMX81Ew/uppWIuznzT7K6+NDQD99JtKJs5/VlqtU= Message-ID: Date: Wed, 23 Aug 2006 12:34:25 +0200 From: "Jari Sundell" To: "Evgeniy Polyakov" Subject: Re: [take12 0/3] kevent: Generic event handling mechanism. Cc: "David Miller" , kuznet@ms2.inr.ac.ru, nmiell@comcast.net, linux-kernel@vger.kernel.org, drepper@redhat.com, akpm@osdl.org, netdev@vger.kernel.org, zach.brown@oracle.com, hch@infradead.org In-Reply-To: <20060823102037.GA23664@2ka.mipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060822231129.GA18296@ms2.inr.ac.ru> <20060822.173200.126578369.davem@davemloft.net> <20060823065659.GC24787@2ka.mipt.ru> <20060823083859.GA8936@2ka.mipt.ru> <20060823102037.GA23664@2ka.mipt.ru> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 916 Lines: 30 On 8/23/06, Evgeniy Polyakov wrote: > > No, it will change sizes of the structure in kernelspace and userspace, > so they just can not communicate. struct kevent { uintptr_t ident; /* identifier for this event */ short filter; /* filter for event */ u_short flags; /* action flags for kqueue */ u_int fflags; /* filter flag value */ union { u32 _data_padding[2]; intptr_t data; /* filter data value */ }; union { u32 _udata_padding[2]; void *udata; /* opaque user data identifier */ }; }; I'm not missing anything obvious here, I hope. Rakshasa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/