Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5748013imm; Tue, 26 Jun 2018 17:41:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdKXZD0b3ILKzO4OeWrCoqLqJVxwgnDBG93828gsOYKJetgL7wcf5MN8bjydYmdtaK168cq X-Received: by 2002:a63:b047:: with SMTP id z7-v6mr2862023pgo.335.1530060100847; Tue, 26 Jun 2018 17:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530060100; cv=none; d=google.com; s=arc-20160816; b=QGTbbpKbu3dh2SC4fpgeffRStBu3PuW58ymxrgc62rU9uksL/w5XklKGMdq0JLjiC2 /uaBKEm2fFlqZOVjVllhu8JlaqA3NUHEtFxG0XR+v6+oAWASNba7sHbs7vCe0rYbsH0k T7D72oWjg5jDwQjrv0fJXNsfGUBEaOyF+NeZzvZ63KfgYTicL+a507WwUF430xKM4/tn xMg0llHP4vPgNsgETwnMG57QOLuhEeFxOX19uzQlcMkLny2uWJrQ9GSsmb9GGgNiOAYP zKvU1hOn5N4tCqDO/nauoTVt/cSj9mHCKMnc7QARfpzO382JYdKt6Dkrd8HlapqnfUit tVUw== 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 :arc-authentication-results; bh=clVg2J2EmUrEGktd8EE8WW4XFkFV+3moJ/KkpBukRmg=; b=y5k8B/aHnoMWjJUmLxfH26g3tWzdnmDDyzu4a+poA9QHs7vRXW4SuBx6r0+EiVYMgS QpQpFuk3loNrAkODtJLC+BBDJWxUpwiLKGDdpazXUyjF4laa9TVmzcBRZ0tMpqErNgQr eErbk7nkhdwKIEwCivM8YR5P6NZ7zrq+OIaNT8BRZxe5NNswzb7a8bZWhtqcME+UPH2Y wNUAjvW1ukcHktFoeRVkDi4qh3ks2YX13tTlhR3kScd+Kdo4wJ4EkjBGHEw5TJNwUOAr I+gFbyoku4VbyerjbrvVVlqqQsN++yBxLGWGSBRRNjcB9siaKCjOI6eHsiD0DrUcaEUA +sGg== 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 g10-v6si2324608pgp.479.2018.06.26.17.41.26; Tue, 26 Jun 2018 17:41: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; 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 S1753080AbeFZTQ7 (ORCPT + 99 others); Tue, 26 Jun 2018 15:16:59 -0400 Received: from namei.org ([65.99.196.166]:33216 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbeFZTQ6 (ORCPT ); Tue, 26 Jun 2018 15:16:58 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id w5QJDVMO027391; Tue, 26 Jun 2018 19:13:31 GMT Date: Wed, 27 Jun 2018 05:13:31 +1000 (AEST) From: James Morris To: Ard Biesheuvel cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Kees Cook , Will Deacon , Michael Ellerman , Thomas Garnier , Thomas Gleixner , "Serge E. Hallyn" , Bjorn Helgaas , Benjamin Herrenschmidt , Russell King , Paul Mackerras , Catalin Marinas , Petr Mladek , Ingo Molnar , Andrew Morton , Nicolas Pitre , Josh Poimboeuf , Steven Rostedt , Sergey Senozhatsky , Linus Torvalds , Jessica Yu , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: Re: [PATCH v9 4/6] init: allow initcall tables to be emitted using relative references In-Reply-To: <20180626182802.19932-5-ard.biesheuvel@linaro.org> Message-ID: References: <20180626182802.19932-1-ard.biesheuvel@linaro.org> <20180626182802.19932-5-ard.biesheuvel@linaro.org> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Jun 2018, Ard Biesheuvel wrote: > Allow the initcall tables to be emitted using relative references that > are only half the size on 64-bit architectures and don't require fixups > at runtime on relocatable kernels. > > Cc: Petr Mladek > Cc: Sergey Senozhatsky > Cc: Steven Rostedt > Cc: James Morris > Cc: "Serge E. Hallyn" > Signed-off-by: Ard Biesheuvel > --- > include/linux/init.h | 44 +++++++++++++++----- > init/main.c | 32 +++++++------- > kernel/printk/printk.c | 16 +++---- > security/security.c | 17 ++++---- > 4 files changed, 68 insertions(+), 41 deletions(-) Acked-by: James Morris -- James Morris