Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8365617ybn; Tue, 1 Oct 2019 07:10:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwer31WXtp1ovPi29g0BDRVs8+u9u1YYmER9yVJKgSvMOA+sGAJL3RASM1y/cn072/Xxcax X-Received: by 2002:a50:da44:: with SMTP id a4mr26113810edk.120.1569939041827; Tue, 01 Oct 2019 07:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569939041; cv=none; d=google.com; s=arc-20160816; b=lngPyj5MFOwqjYNQqJW02I0pkFWS2qWywzQqQIUP4+VtJWm5yYot8kcl6aZqafauAf QGR97VKFHwa9S01KI3jh+6Ib0sjiDlkpdMBlVjz6ea+IKoUSccWZKxF122GjrSiRWGlG h08qsi/CkCUTT/nbPjCFoKtjWSJcKO3810djlg6C8WcjRx2G1UA89NYK+4WtLYQxonHX ah+PF+8+qNsTD2CcjAN6c9Qgk0+3HGhKGU9CHKTiO496X/rPwSYeu/7BM/bqz7hbN7o4 iDPvJcyZr8ImCnU5TXGRkw0pmRTuZW2AlcD1aCYsO4Y7rz2knaNp0nPYPsj/b0LZaBss kZ8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=8RatxRyirkC/4rfNMMyrhD+loNoE95qLYi7XTzhLkh0=; b=jAPUIz+fw59OgHBHpUq5erKTgPsHG5YVXey6aTt7ynHxY+5uBpno8/ch3dyBAR+xQy tIHABX+T9v9XfAP05Fnk4AyRogMEG7KQ4D20RRY3h9xZZGhrgkKvDb1ohkKRT9G4WYVg skv/MDOX/u6feh7DRSC4N39rE/GxxOLk5MX8UTgxcw/TbjCnPXjofUtTRnHvbyRrN7g9 MV2DIpMT8HgfV26DnuM+s+5NJaHjqRW4rSasL0duy2m+DjJ0viZMUIuebLPG79myfwDX GVBNJMr1xEetFiO3tkgkC5TsOiGLWNNfwzjCi2IwSy1Y5dumlk5W5+WvPc8TYomqyVc0 kXjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=Ghk4OsGG; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2si8560071ejr.332.2019.10.01.07.10.15; Tue, 01 Oct 2019 07:10:41 -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-dk.20150623.gappssmtp.com header.s=20150623 header.b=Ghk4OsGG; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388751AbfJAOJY (ORCPT + 99 others); Tue, 1 Oct 2019 10:09:24 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:45307 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388689AbfJAOJY (ORCPT ); Tue, 1 Oct 2019 10:09:24 -0400 Received: by mail-io1-f68.google.com with SMTP id c25so48174296iot.12 for ; Tue, 01 Oct 2019 07:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8RatxRyirkC/4rfNMMyrhD+loNoE95qLYi7XTzhLkh0=; b=Ghk4OsGG6Oz7tZ5M6eRx1P6XEdLbmrF2aEY6vccsaJberBmlyClMkjTnCDUvfgSoy8 oNi1eKeNRo3+bYcSn0gvIlsZKya2riDbF2MmiNMpb7tr9rGA5cB4bFPRVNLp4ol9yMiW QOU8U5m+QQemvlzF+O/n94HQ8AEX+KydRPxZLaXLyFrOhBDD0qb8JoT7+7HaiAsuSv5X 3yeuYt/vsr2NBT/WYeEUw/mYX2/5yk5mfMBYthUynDq3HY2i1hMmJq87rszhxXsnTUL4 vfcatmG2SXm3yADHfu0rFgwrswiTFriyhC9Ak6WlppWNDCzwuRW1URjT03nKqaIGOZ8v YlgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8RatxRyirkC/4rfNMMyrhD+loNoE95qLYi7XTzhLkh0=; b=h9mihGuWcOUeEziixrHXOWX0EcMqfbJ9NECWK5MoLsqzZ1CkQAybNqzZ54djWaKCXN bW840re4xoAOVjBBfLPDLN5s+LZ+FOiPT+feICHi/lVcedGn2j65Vs+r13G9Eoj2ckej WQw2DwXI1nvrlZPGDOo3XUwqQv8U1xbPNnTZLUqGvHSYRnk9H7befVkimcPnVP3FSUWd 7L/SLwYWNiG/KFtDL1t2/NHZ8Ty4H21sWo2JAaSCgVC66czJeXb3YXxXIxPPubE9mIEE KzBPly2iNlpCd/ulMatHsGbz+KAR3KAnQvpGEHvo6dAqZR/aOhG3LnB91abcyH2SPJAf culQ== X-Gm-Message-State: APjAAAVXhS0u4BZJzNtYcjy/rDrLnCpe49BP1xrdMuaG/z4kYfueJe97 5O0a7M6KifW5QFzJf5g2kp/gUZiKAaYM8Q== X-Received: by 2002:a92:6507:: with SMTP id z7mr23935789ilb.191.1569938961846; Tue, 01 Oct 2019 07:09:21 -0700 (PDT) Received: from [192.168.1.50] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id b7sm7177343iod.42.2019.10.01.07.09.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2019 07:09:20 -0700 (PDT) Subject: Re: [PATCH] io_uring: use __kernel_timespec in timeout ABI To: Arnd Bergmann Cc: y2038@lists.linaro.org, linux-api@vger.kernel.org, Alexander Viro , =?UTF-8?Q?Stefan_B=c3=bchler?= , Hannes Reinecke , Jackie Liu , Andrew Morton , Hristo Venev , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190930202055.1748710-1-arnd@arndb.de> From: Jens Axboe Message-ID: <8d5d34da-e1f0-1ab5-461e-f3145e52c48a@kernel.dk> Date: Tue, 1 Oct 2019 08:09:19 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190930202055.1748710-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/30/19 2:20 PM, Arnd Bergmann wrote: > All system calls use struct __kernel_timespec instead of the old struct > timespec, but this one was just added with the old-style ABI. Change it > now to enforce the use of __kernel_timespec, avoiding ABI confusion and > the need for compat handlers on 32-bit architectures. > > Any user space caller will have to use __kernel_timespec now, but this > is unambiguous and works for any C library regardless of the time_t > definition. A nicer way to specify the timeout would have been a less > ambiguous 64-bit nanosecond value, but I suppose it's too late now to > change that as this would impact both 32-bit and 64-bit users. Thanks for catching that, Arnd. Applied. -- Jens Axboe