Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2440840ybc; Wed, 13 Nov 2019 14:32:09 -0800 (PST) X-Google-Smtp-Source: APXvYqy4z7/kYssiyDBZbYSJOhq0MExsVBzrto5DX3L6pwrkHsptkKwz1AAPZ1UsVYgAc6BW3D77 X-Received: by 2002:a17:906:3d2:: with SMTP id c18mr5273285eja.111.1573684329552; Wed, 13 Nov 2019 14:32:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573684329; cv=none; d=google.com; s=arc-20160816; b=CCrsOUxElrOy6lZX2pGW1sVpmQDM/IIIxLkJbR7nmA03cwBIyIGgLwUoy12pu3nc1+ PCfYB7H08XmiCoQAghUMorAZCDdNWWlQuudD8bSwMg06PTxC2KJ/ZyhVNfLmJaom7qm8 1KTXQHWdzjWCCIsMJpGk8gL9ZdN0gXgjIwrpRhI6YBaGqNQGPvhA44+vTv4fSp8oTGJD Dg0jjZ1S6mIUS/SfTwbm6qAerVH+GEcaFDutvwRQEbizm5SDix6fDRcVwXAS1MgxNGSc 7pV6+noAg44UtuKwNOC9Mo2ZbYwdUq3WusSK8zZxgS5ZS4ryvgv8latqJoo4xjJFSyex F74Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=beDo4LXtSHgjTtJKTv16nlOEIqoGj6AkF07ExBMUm8U=; b=Xd7+FrvKPcmmkejh6T+yLkJy4WhNRXNZaY6rjvrzhAqesOSmnvp29qBilHmtKWaKYh ybRiwFAKqC4aIJvG4d60VjoTAkwOP9qFH9z4Vq6Cgf1j4OCRNNfdSotQTj7efIMuh8Hh 9zsDhEYKWIXhF+JyExVufG3XOcMMiinxPbJSyBDYcFHeacnK6c4iReFB/dJy0bnu+7M2 Ac3kiR+M/61m/RF6oSzPcsOowxeUm9tmuEOINDK7QGblcmTDxhlgFIGGSvgSYbv13vs0 JbZlGNHHElrr8PC37cv/luhVKMCeisk0DI7gWpyUsOz7aS969ID9WZ5v13d9nXMCGW5C xmZg== ARC-Authentication-Results: i=1; mx.google.com; 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 p16si2165828ejb.191.2019.11.13.14.31.43; Wed, 13 Nov 2019 14:32:09 -0800 (PST) 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; 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 S1726439AbfKMWbF (ORCPT + 99 others); Wed, 13 Nov 2019 17:31:05 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:39297 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726303AbfKMWbF (ORCPT ); Wed, 13 Nov 2019 17:31:05 -0500 Received: from p5b06da22.dip0.t-ipconnect.de ([91.6.218.34] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iV1AB-0007co-HT; Wed, 13 Nov 2019 23:30:59 +0100 Date: Wed, 13 Nov 2019 23:30:58 +0100 (CET) From: Thomas Gleixner To: Arnd Bergmann cc: y2038@lists.linaro.org, Steven Rostedt , Ingo Molnar , linux-kernel@vger.kernel.org, Anna-Maria Gleixner , Frederic Weisbecker , John Stultz , Nicolas Pitre Subject: Re: [PATCH 22/23] [RFC] y2038: itimer: use ktime_t internally In-Reply-To: <20191108211323.1806194-13-arnd@arndb.de> Message-ID: References: <20191108210236.1296047-1-arnd@arndb.de> <20191108211323.1806194-13-arnd@arndb.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 Nov 2019, Arnd Bergmann wrote: > Avoid the intermediate step going from timeval to timespec64 to > ktime_t and back by using ktime_t throughout the code. > > I was going back and forth between the two implementations. > This patch is optional: if we want it, it could be folded into > the patch converting to itimerspec64. > > On an arm32 build, this version actually produces 10% larger > code than the timespec64 version, while on x86-64 it's the > same as before, and the number of source lines stays the > same as well. Right. For 32bit without a native 64/32 division this is going to be more text and I'm not really convinvced that this buys us anything. Thanks, tglx