Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755186AbbBOWAQ (ORCPT ); Sun, 15 Feb 2015 17:00:16 -0500 Received: from tex.lwn.net ([70.33.254.29]:37605 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754398AbbBOWAO (ORCPT ); Sun, 15 Feb 2015 17:00:14 -0500 Date: Sun, 15 Feb 2015 15:00:11 -0700 From: Jonathan Corbet To: Fam Zheng Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Alexander Viro , Andrew Morton , Kees Cook , Andy Lutomirski , David Herrmann , Alexei Starovoitov , Miklos Szeredi , David Drysdale , Oleg Nesterov , "David S. Miller" , Vivek Goyal , Mike Frysinger , "Theodore Ts'o" , Heiko Carstens , Rasmus Villemoes , Rashika Kheria , Hugh Dickins , Mathieu Desnoyers , Peter Zijlstra , linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, Josh Triplett , "Michael Kerrisk (man-pages)" , Paolo Bonzini , Omar Sandoval Subject: Re: [PATCH RFC v3 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1 Message-ID: <20150215150011.0340686c@lwn.net> In-Reply-To: <1423818243-15410-1-git-send-email-famz@redhat.com> References: <1423818243-15410-1-git-send-email-famz@redhat.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 845 Lines: 25 On Fri, 13 Feb 2015 17:03:56 +0800 Fam Zheng wrote: > SYNOPSIS > > #include > > int epoll_pwait1(int epfd, int flags, > struct epoll_event *events, > int maxevents, > struct epoll_wait_params *params); Quick, possibly dumb question: might it make sense to also pass in sizeof(struct epoll_wait_params)? That way, when somebody wants to add another parameter in the future, the kernel can tell which version is in use and they won't have to do an epoll_pwait2()? Thanks, jon -- 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/