Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4235750imm; Fri, 18 May 2018 01:29:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpm/tpnPJ6J1idB6VVgjdnYSy22duH8qbTyVlkOg6U5rQXGtSLJnvjl3d8XdclgDx/p6Nvh X-Received: by 2002:a62:9d89:: with SMTP id a9-v6mr8445295pfk.206.1526632155571; Fri, 18 May 2018 01:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526632155; cv=none; d=google.com; s=arc-20160816; b=fKq20GRhh3laRaR8rYYmb5PzUeugDqwFzNs+f+TTvjeyI6L/EVDreX0cl0rzusaJHy glCl/s5HWr+ReHMqrilwtvABAasXC0sXQVC/KmW8NiHX0wwziILxJgEj/VBF6sTix0Aw Pg/PzIZh8vGkTca0xGQDjqkVf9gnA7JPWZ4ATaarl7KXUo1/e4QIgq0gXqFj7eE+Sqxm 5ZmPR2F/qbG9LggPg6S9PTyGl0MP91LEl71CYxy4/9iZl1VVQTU0hQRHnwM4c+G9ZurE IWJYfLDMYxrdEkfywAQOp/tyyC7Wr4//ywibYeJuwUBitfJ+RmCzdgQr6y0yhvsPw4V/ LidQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=RsL5Bt9z6l7LrWV1ZXbH/uC+5+lJxokgMWHFdKqSxaQ=; b=O1CfBSRbb+5V6y90XLwvy/ZoVATNlBBrjGCuYdCSyLc3U2Lb1iYsqzxvK8C5xuqE5a 90c5cA2mTOlrPRk1zl9NvTa2Cvx0cNE2ecXbH/lOeXs+WmqRJkBEDiT2kwlp7CeHpxwz Tu9s53tmTML1LZN6n4yhXDbfqcIIoQhktSmqbHsDaMF4GybGY+sqJn+wCgISg9jZhFFg PpdNBnPVYeocxXNbVXchvjJ0+XSVOsH3juA7sJG+SPJviPglBCQSJ+BbuKDwatBY92Bt oJyKjaOlx5zVhT2SmEmJsBio8yPxi48CXOmc4zJ7OVkQWWuSH97qcHVa6XWQ3K/AULmu Qm0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=btsyyjqj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a35-v6si7033862pli.85.2018.05.18.01.29.01; Fri, 18 May 2018 01:29:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=btsyyjqj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753922AbeERI2p (ORCPT + 99 others); Fri, 18 May 2018 04:28:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:35032 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753827AbeERI2n (ORCPT ); Fri, 18 May 2018 04:28:43 -0400 Received: from jamesdev (jahogan.plus.com [212.159.75.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6A2D120652; Fri, 18 May 2018 08:28:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526632122; bh=zx5s8o6nj41RN6OqMtbKPryuh3m9LPE2qaBqs2+YUOE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=btsyyjqj7iQpcmzwAtci0i5/SBSCZMID13h8jzqBnvhSTunvGYTO2N+Gy52WhtZEQ f7HrJuagodDwo9k5J6jDZG+ImEYpAOyru6vzeD03pJP2gwRV9FThzyZ8dy6BvqnPAQ tc0k0vt/CcFhLQEnFKEfgfiLbFRxh1vsjumZORA0= Date: Fri, 18 May 2018 09:28:38 +0100 From: James Hogan To: Christoph Hellwig Cc: viro@zeniv.linux.org.uk, Avi Kivity , linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 7/7] aio: implement io_pgetevents Message-ID: <20180518082837.GA3264@jamesdev> References: <20180502211448.18276-1-hch@lst.de> <20180502211448.18276-8-hch@lst.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <20180502211448.18276-8-hch@lst.de> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Given this: On Wed, May 02, 2018 at 11:14:48PM +0200, Christoph Hellwig wrote: > +struct __aio_sigset { > + sigset_t __user *sigmask; > + size_t sigsetsize; > +}; and: > +asmlinkage long sys_io_pgetevents(aio_context_t ctx_id, > + long min_nr, > + long nr, > + struct io_event __user *events, > + struct timespec __user *timeout, > + const struct __aio_sigset *sig); The following paragraph in the commit message would appear to be misleading since __aio_sigset contains a size: > Note that unlike many other signal related calls we do not pass a sigmask > size, as that would get us to 7 arguments, which aren't easily supported > by the syscall infrastructure. It seems a lot less painful to just add a > new syscall variant in the unlikely case we're going to increase the > sigset size. Is it possible to correct it before this gets merged? Thanks James --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQS7lRNBWUYtqfDOVL41zuSGKxAj8gUCWv6OtAAKCRA1zuSGKxAj 8nzxAQC7f4RLhmqTHYo86l9+4h8Ta0h4zflObA+py2hwfuGW2wD/a+C9QJzr4ybw XxWoWxP/rKTTnqobNheJw5wH6+HiqgQ= =7rhk -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--