Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4204276ybp; Mon, 7 Oct 2019 05:04:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAjpRzw3RC2dOXixTvWyzWI75UF3uhBR3e5mDr+bKL7XpflMRhhtYo+20aJAtf0ZiORRzf X-Received: by 2002:a17:906:4a17:: with SMTP id w23mr15156190eju.324.1570449852406; Mon, 07 Oct 2019 05:04:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570449852; cv=none; d=google.com; s=arc-20160816; b=dtHJYLlyv6pz5//8FSTYzlYtQjGghhx2hgqPhmSDKmlsmAyimEg6f+5DjVoYlKy4jM cIGiSTXiZsmY66nmTsSbYXfSHQE2sZrkCRQnfYtvI8WrzNYgCgJNy1PeIS7s1b8jg/+O DX5pO6rpiYgJO44q+yXFBgBorYrHCby0dk9LaZ3yl/MbO09YQMBBGA+0+VR3H6dK/e8c DOT4WaTm+z8bmpQ0Qhey/HdRPVKemX97Eyl+czGy07WoQej+5xkHR9uyM+GRKxrVp69B Wqfc0kLtZAh0BOaOSpvp7TCGVrUoC8+csadh5JrRgvs8Dv/scjcE4Z2KCV03PvTunet6 pc1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=SjlvWt+TP5em4hhlxgUiQ+FTlfEovVoQnG11bRnaQXg=; b=PlvlR8ieQnHcsfLhsF6uZ62L81/Pzx6TWuBNk9XqR9kqmuU3O8qC1VmPnKSHTXvwfm 3xxf3h7H2OJgjWh3Bkix8mAmNwhIpDlgjis1Wx6UEiPXukPUu86PFanucjZ+8PkWQFsp hGgS50O3eeTZYUq19EBM2pWR0YtePOHsyHdUkPSL8SrQ338VMLiD4v6GClPkDejO+7n1 jLLizBMsWrrzo67+1I8xusM52t7vYVTsx53xLibseszwGtP/LGIBqELQ5vQ1lqVnZpgt tjauMpK/E/wBKzmMQeynJZn6RptUMJtLu9LB4sufOYd5/77/Y75ODNgn1nHuzl1Sy9jb Ju9A== 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 rk6si7189694ejb.129.2019.10.07.05.03.47; Mon, 07 Oct 2019 05:04:12 -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 S1727757AbfJGMDF (ORCPT + 99 others); Mon, 7 Oct 2019 08:03:05 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:40097 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727490AbfJGMDE (ORCPT ); Mon, 7 Oct 2019 08:03:04 -0400 Received: by mail-oi1-f195.google.com with SMTP id k9so11381212oib.7; Mon, 07 Oct 2019 05:03:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SjlvWt+TP5em4hhlxgUiQ+FTlfEovVoQnG11bRnaQXg=; b=CgYfp4/ZlSeZFOdozcNNY3/R0R+n6BQ7+HhXjO8Jpk1XSzEK8NWYWrq0bxR/MGgpTq 33cpxoz1fSRpkLPnhQd0Jd7X95Jglil5KVfuseoIRbay33MsOduYJ1etqyP5dfypBlaz Z9TYIrcm3/stvU9+K2vE8fUF3+2ZfZsEnhwFLYpmXJaMYpuXCJ/7XD28bYQxwmjNnpI8 FNW7PhLhzPTxXrDX3m2oMGBbFvdkkbfT0shy0dqoMCZnckdUDFNWkV+PjjqgabYA/5f7 W21GcfnkxMJ7rplReou/UaxQKwQ3JMUqeNxQf7sqd3U9orf0iB368Z15A7N9XKwXN2DO LkBw== X-Gm-Message-State: APjAAAX252hDX1NfpJqgKjDIFIIFZ/iHJmhMwP0f9Ob+DUqYPmthRxCb lbQM1enwE4osjSfzv81uY2HmQlTbpxPrrBvW0Ds= X-Received: by 2002:aca:f305:: with SMTP id r5mr17223296oih.131.1570449782920; Mon, 07 Oct 2019 05:03:02 -0700 (PDT) MIME-Version: 1.0 References: <20191004094826.8320-1-linux@rasmusvillemoes.dk> In-Reply-To: <20191004094826.8320-1-linux@rasmusvillemoes.dk> From: Geert Uytterhoeven Date: Mon, 7 Oct 2019 14:02:49 +0200 Message-ID: Subject: Re: [PATCH] clk: mark clk_disable_unused() as __init To: Rasmus Villemoes Cc: Michael Turquette , Stephen Boyd , linux-clk , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 4, 2019 at 12:30 PM Rasmus Villemoes wrote: > clk_disable_unused is only called once, as a late_initcall, so reclaim > a bit of memory by marking it (and the functions and data it is the > sole user of) as __init/__initdata. This moves ~1900 bytes from .text > to .init.text for a imx_v6_v7_defconfig. > > Signed-off-by: Rasmus Villemoes Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds