Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1440034ybh; Sun, 15 Mar 2020 03:03:39 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvXaS6GUO2w7AF5nYoq53itR8P2jbvtU5XcLYKC4uYKRZ0mpxrdUveVwhNV/sVjS3rjLK6L X-Received: by 2002:a9d:21b4:: with SMTP id s49mr17481662otb.294.1584266618832; Sun, 15 Mar 2020 03:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584266618; cv=none; d=google.com; s=arc-20160816; b=z4yINiZt0CEKwT0nhkJIyr9qcLdj5udbp1F/PMUbXgvFEaxVvRhMW/UqUSAyF6q5uD Oy1RtFAy8ZegMwH8UNfAXdPdD9/nnnNX0sT/ZH7LQDHLoci/qNXaPtkm1HWn7W/A5o8e YMV2WrRX2j0Ipn6xsPasa3zO/+A6YI40QkOAxDsleB3EaZs0qfz7fA9G1urY9cf7Se30 x8f8oyaj1JjldsW989SHfVZYbHXpE/PyJmTveuCgeeaPL582tLrT1c8zd9Ul1Ea/SRtW qVBUt9cVPHQA4fd4/9adnRIcEphL+1BUOSHXGjgXZudmil7hJnykCYZfrPf/sElq06xG NWeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=OnATym2Ssz6pXenVi2dtMRvwkk2U1JGQuDX9vnQxjpg=; b=s/fKFk6RC5uqoD70O5LIV5uAxPECZT/oQMJK3T2hLtVx8PoXs+PAqS1yVKfRBDLyp5 vjNI85r8QLktgEZ4m2h9Pmbz87ehxjAgMu2fn/hIHvg4lAxBfaBq8wv4wDkxBxsMoXYr cpACVvkyYYs/P0YFK1b1pwJNFLoih0NNxhXDmMZTYARZ/OuFCGj1iIJXmQ+XN6D9IQqs WWTRAFWWZBEPxwQWeHpuFtqsVJO1wMsy+OhsBWHP6K2H56HTidhfD10TpXgHYhbKxHCX 9aRZqo2fT8E8xg7R2RwKVcd5JT1tw128+8WuRdVR1lgeBq4XFmACaVSe56EHLV7dTMgg XqhA== 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 u62si5501618oib.201.2020.03.15.03.03.26; Sun, 15 Mar 2020 03:03:38 -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; 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 S1728226AbgCOKDE (ORCPT + 99 others); Sun, 15 Mar 2020 06:03:04 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:49936 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728197AbgCOKDE (ORCPT ); Sun, 15 Mar 2020 06:03:04 -0400 Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jDQ6Y-0007T9-0n; Sun, 15 Mar 2020 11:02:46 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 09DCD101305; Sun, 15 Mar 2020 11:02:45 +0100 (CET) From: Thomas Gleixner To: Dmitry Safonov <0x7f454c46@gmail.com>, Vincenzo Frascino , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, clang-built-linux@googlegroups.com, x86@kernel.org Cc: Catalin Marinas , Will Deacon , Arnd Bergmann , Russell King , Paul Burton , Andy Lutomirski , Ingo Molnar , Borislav Petkov , Stephen Boyd , Mark Salyzyn , Kees Cook , Peter Collingbourne , Andrei Vagin , Nick Desaulniers , Marc Zyngier , Mark Rutland Subject: Re: [PATCH v3 00/26] Introduce common headers for vDSO In-Reply-To: <693b6a61-b5f6-2744-1579-b356e6510547@gmail.com> References: <20200313154345.56760-1-vincenzo.frascino@arm.com> <693b6a61-b5f6-2744-1579-b356e6510547@gmail.com> Date: Sun, 15 Mar 2020 11:02:45 +0100 Message-ID: <87fteadjga.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain 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 Dmitry Safonov <0x7f454c46@gmail.com> writes: > I like the idea, but I'm wondering if we could have less-grained > headers? Like, AFAICS the patches create headers < 10 lines and even > mostly < 5 lines.. I like that header's names perfectly describe what's > inside, but I'm not sure how effective to have a lot of extra-small > includes. If that goes all into a big header then the headers from where the bits and pieces are split out would have all to include this big header which might result in other include dependency nightmares. >> create mode 100644 include/vdso/time.h >> create mode 100644 include/vdso/time32.h >> create mode 100644 include/vdso/time64.h > > Maybe we could made them less-grained? > > I.e, time32 + time64 + time.h => time.h? Then you end up with ifdeffery. I like the clear separation. Thanks, tglx