All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Tony Lindgren <tony@atomide.com>, Keerthy <j-keerthy@ti.com>,
	"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
	Haojian Zhuang <haojian.zhuang@linaro.org>,
	Linux-OMAP <linux-omap@vger.kernel.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] pinctrl: pinctrl-single: Avoid divisions in context save/restore
Date: Thu, 14 Jun 2018 10:33:32 +0200	[thread overview]
Message-ID: <CACRpkdYo9Tmes7sXCFWSMKpYXpEKDXkfqp33EBHziHeT=CpdfA@mail.gmail.com> (raw)
In-Reply-To: <1528374274-26385-1-git-send-email-geert+renesas@glider.be>

On Thu, Jun 7, 2018 at 2:24 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> The divisions (and multiplications) can be avoided by changing the loops
> to use increments of mux_bytes instead of 1.
> While at it, remove the unneeded casts when assigning void pointers.
>
> This saves +100 bytes of kernel size on arm32/arm64.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Patch applied for v4.19.

Yours,
Linus Walleij

WARNING: multiple messages have this Message-ID (diff)
From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pinctrl: pinctrl-single: Avoid divisions in context save/restore
Date: Thu, 14 Jun 2018 10:33:32 +0200	[thread overview]
Message-ID: <CACRpkdYo9Tmes7sXCFWSMKpYXpEKDXkfqp33EBHziHeT=CpdfA@mail.gmail.com> (raw)
In-Reply-To: <1528374274-26385-1-git-send-email-geert+renesas@glider.be>

On Thu, Jun 7, 2018 at 2:24 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> The divisions (and multiplications) can be avoided by changing the loops
> to use increments of mux_bytes instead of 1.
> While at it, remove the unneeded casts when assigning void pointers.
>
> This saves +100 bytes of kernel size on arm32/arm64.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Patch applied for v4.19.

Yours,
Linus Walleij

  parent reply	other threads:[~2018-06-14  8:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-07 12:24 [PATCH] pinctrl: pinctrl-single: Avoid divisions in context save/restore Geert Uytterhoeven
2018-06-07 12:24 ` Geert Uytterhoeven
2018-06-08  6:26 ` Tony Lindgren
2018-06-08  6:26   ` Tony Lindgren
2018-06-08  6:48   ` Keerthy
2018-06-08  6:48     ` Keerthy
2018-06-14  8:33 ` Linus Walleij [this message]
2018-06-14  8:33   ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACRpkdYo9Tmes7sXCFWSMKpYXpEKDXkfqp33EBHziHeT=CpdfA@mail.gmail.com' \
    --to=linus.walleij@linaro.org \
    --cc=geert+renesas@glider.be \
    --cc=haojian.zhuang@linaro.org \
    --cc=j-keerthy@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.