Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1289713imm; Mon, 9 Jul 2018 22:18:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcWS1qiJPW1gxPT9flCNWxr4KCKq4lfT+fbHN/KIYpYtVoqx2b638VMtuy9STuG9Uid76yS X-Received: by 2002:a63:b91c:: with SMTP id z28-v6mr21384847pge.22.1531199920201; Mon, 09 Jul 2018 22:18:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531199920; cv=none; d=google.com; s=arc-20160816; b=d6B+GMG72MoYwwgF+bVsxxz3FfsGf2c5CopcAWvrPc8SE8I/O70lH2G8WDaYuFP4of lYD2togAFB5RWHD5NTbf60tiDqy0/00npCCIq7MvMNJRZbvtDyS4K27PX0+avZg83BMp EsFYA3SSlgSk2SvRJGnutAKiMUfMPxWuU8MSzv1sYZSaHSzJZyYCofTzApg9PUSvnPe3 QY6k0R2lXGFq+4gAp0qH9HdQY2Ydm0aHj2SwbKfjnFGs2cJ7zBraVh4R8inffvGfSSAG dvKUVdg7ox9yaQOzvcV+7gKYNheljrjuVxGBDmbvZyvZEHctCyPp0BMB65w9bTV7KZvO Mjmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=2yu8rXiqMIxC8w6AwqqE9DuaYZwbuhLm6beWsiT93+8=; b=Zt3amgRNvTCKyVp73D82IN/mW+uQHy7gf6OoM3sQA6JEPCZGMVYRMORTwgelK86ACX YL2+mr7nM2ubtNEn6cRohNomhSPfdE3sT5zn1MgJ+i3e+Xtbjzvb7KQqb/GswXLkWJEz eN54ZsFRIW6VaVWhNDs6z0fw1zQxL/ZzMjicSh7M9GP7vW0XgnXuMTrKI+XNT9MiYen6 RaS5FFq/5iWWUiwQJvVtKaxHR352D9reeZtb3e0xtzcg9WkJgigjnDTRBsjh8+NsR40A 4BpLp0TeGoXBiTq3CELOtjq0PL+G6i8jMpD1yjcgSqQglqC49WbH4SuflEV/vblBkfcU 9bWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=OSLajxs1; 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=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e98-v6si16444094plb.150.2018.07.09.22.17.53; Mon, 09 Jul 2018 22:18:40 -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=@virtuozzo.com header.s=selector1 header.b=OSLajxs1; 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=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750998AbeGJFQN (ORCPT + 99 others); Tue, 10 Jul 2018 01:16:13 -0400 Received: from mail-eopbgr80111.outbound.protection.outlook.com ([40.107.8.111]:45030 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750868AbeGJFQI (ORCPT ); Tue, 10 Jul 2018 01:16:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2yu8rXiqMIxC8w6AwqqE9DuaYZwbuhLm6beWsiT93+8=; b=OSLajxs1YBRoFdUMa0MwoC59NaNIhQNq8O1nmHRGKlKwWvTVMuKH5ShipM8LCH/SqRyLORstv9ebBYGiXCfwCpdb+nQNZ9PlSD5jjY+6gMFHiqDvS/OxuyeU85Lf2ZAU/Qje4h2F4oqybSk5k7A/GrVIeyVd3EhisdianpL+Qas= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=avagin@virtuozzo.com; Received: from outlook.office365.com (73.140.212.29) by AM6PR08MB3255.eurprd08.prod.outlook.com (2603:10a6:209:47::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.952.17; Tue, 10 Jul 2018 05:11:55 +0000 Date: Mon, 9 Jul 2018 22:11:42 -0700 From: Andrei Vagin To: Christoph Hellwig Cc: Adrian Reber , 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: <20180710051141.GB21096@outlook.office365.com> References: <20180502211448.18276-1-hch@lst.de> <20180502211448.18276-8-hch@lst.de> <20180704142116.GM17048@lisas.de> <20180708204359.GA19198@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180708204359.GA19198@lst.de> User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [73.140.212.29] X-ClientProxiedBy: DM5PR13CA0040.namprd13.prod.outlook.com (2603:10b6:3:7b::26) To AM6PR08MB3255.eurprd08.prod.outlook.com (2603:10a6:209:47::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 06e2031e-0464-46c0-3826-08d5e623a90f X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603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5GaPJcilZTJapWp4sZZcCxa4twVfyc32H/q9rX6cB0vsWC6Llj+4YOWwHoGCdp4ZSSQBGBMaVgNZIE6+4AsqmlKK1XMSzA/VITCd6he/AiEChZG34p0S4Tu+1hxEQtUZ/gWtHa4saSjM+eKAFRd5zq0wcwEo620dXzO0FkLpOGZzj/eej3u0UFYYWkeOTUCueR+C5Ir1X6X5BD37jYqoHtilUTY0kL0uUSRs52pJXuj8iGgDSTaA6P3QWrelNS9R5GLvIRc9aG5lj0qSZVI93J/cfcIhVJ70ctQDwtwVdUqADmMGdWLn4zx+FZwkXX4b1jZq+Nvrm+H2gvrqZDtVKPMF8MlLOBKAJg+K4xWXBA5PSTpL0ykJgSosml5YGENzfymSLa1LpJBmu5m8ZZI3sraM61Ta7Gt5g6zxvl;4:/pnE0nVYmxaXWqejBUMBRqwGX+3fk8FnbQoCxund5be6Hzw/7XAh+RVIhhTgesM/Dy7OMw7NBs+0R3oFd2OhfX34ppmX9/ROC20/N42N8qKOpuoqHsK1W3Ypgjk16SObp/ao9U3K3+m4LNypmfSXJNXo6CsEYZhBB8mobQrFyc96viZl0fDI+lqyLXMq+ooju4xZMJuLy6lk8B9XBOfTaZFjOa5CSeRadjWCPKrP9KOhgAZUM0QJIJHTpXiOJrrnbQMGPacT6598UFfOFbz02w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016);SRVR:AM6PR08MB3255;BCL:0;PCL:0;RULEID:;SRVR:AM6PR08MB3255; X-Forefront-PRVS: 0729050452 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(136003)(376002)(396003)(39850400004)(346002)(366004)(199004)(189003)(11346002)(2906002)(476003)(446003)(956004)(486006)(69596002)(33656002)(8936002)(229853002)(186003)(16526019)(81156014)(81166006)(26005)(97736004)(6246003)(6506007)(386003)(58126008)(54906003)(52116002)(305945005)(7696005)(55016002)(316002)(3846002)(6116002)(105586002)(25786009)(7736002)(86362001)(52146003)(478600001)(2486003)(8676002)(2870700001)(9686003)(76176011)(5660300001)(1076002)(6666003)(47776003)(93886005)(6916009)(66066001)(53936002)(53416004)(68736007)(106356001)(23676004)(4326008)(50466002)(18370500001);DIR:OUT;SFP:1102;SCL:1;SRVR:AM6PR08MB3255;H:outlook.office365.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTZQUjA4TUIzMjU1OzIzOnEyRjE4UGVPaityaklScllhc2Z5UVZHZU9x?= =?utf-8?B?NEh3eVRNak5XMlFPeXlQNUkxSkV1RGtSL2oxNmF3ekFrWjdIekJBRnZ2QlR2?= =?utf-8?B?a2U1VXQ0Rk1LN09QQ3FDS0lnWDQ1dlhvdE1VTUlOQlp3NEgzOFZzZGtQRmtG?= =?utf-8?B?OUNsYkcrcWRQdFkxTWErTzY5YWNWSklVQTMxWXJseVZVTHc0bDNoZHVmOFlm?= =?utf-8?B?aWJicUkvOUc1SGJSSzdmK25LSnBiM2F2SUtRNVo0b2I5ZHdVb2hndndFQ3dJ?= =?utf-8?B?TUNsb2RxTndUMjk3cnZ3WDVIeFI0RkM4cjBmQ0JLcDJBdE5HQmRIYTBjSFZQ?= =?utf-8?B?TzlybzNLay92NEhqNitCRzVRSUVoc0doVjhoZkNNZmF4dDNwb1VWY3FlZ0s0?= =?utf-8?B?YnR0czdjVnhkczJRTU82UGFPUEx2aEZBbzFOSTRYcWNhOUZTb3VkbHFTckcv?= =?utf-8?B?VTFpVXVFWXI1OXV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TXX18Uhp2o3g5Vu2ewCiyCJl+qPNvddqmMFpBAxFKG9uiyn6kMpbURudJnOAIyBjqndjxkSbWFeEbsnpIsGA= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2018 05:11:55.6849 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 06e2031e-0464-46c0-3826-08d5e623a90f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3255 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 08, 2018 at 10:44:00PM +0200, Christoph Hellwig wrote: > On Wed, Jul 04, 2018 at 04:21:16PM +0200, Adrian Reber wrote: > > In file included from /usr/include/linux/signal.h:5, > > from /usr/include/linux/aio_abi.h:32, > > from include.c:2: > > /usr/include/asm/signal.h:16:23: error: conflicting types for ‘sigset_t’ > > typedef unsigned long sigset_t; > > ^~~~~~~~ > > In file included from /usr/include/signal.h:35, > > from include.c:1: > > /usr/include/bits/types/sigset_t.h:7:20: note: previous declaration of ‘sigset_t’ was here > > typedef __sigset_t sigset_t; > > I guess we could do something like the patch below, although it is > rather ugly: > > diff --git a/include/uapi/linux/aio_abi.h b/include/uapi/linux/aio_abi.h > index 75846164290e..b7705ad66d78 100644 > --- a/include/uapi/linux/aio_abi.h > +++ b/include/uapi/linux/aio_abi.h > @@ -29,7 +29,11 @@ > > #include > #include > +#ifdef __KERNEL__ > #include > +#else > +#include > +#endif I think we can not do this because this header specifies the kernel API, but signal.h is provided by libc and sigset_t can be defined differently there: [avagin@laptop ~]$ cat test.c #ifdef TEST_LINUX_SIGNAL # include # include #else # include #endif #include int main() { printf("sizeof(sigset_t) = %d\n", sizeof(sigset_t)); return 0; } [avagin@laptop ~]$ gcc -DTEST_LINUX_SIGNAL test.c && ./a.out sizeof(sigset_t) = 8 [avagin@laptop ~]$ gcc test.c && ./a.out sizeof(sigset_t) = 128 [avagin@laptop include]$ rpm -qf /usr/include/signal.h glibc-headers-2.27-8.fc28.i686 glibc-headers-2.27-8.fc28.x86_64 [avagin@laptop include]$ rpm -qf /usr/include/linux/signal.h kernel-headers-4.16.5-300.fc28.x86_64 > #include > > typedef __kernel_ulong_t aio_context_t;