All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vineet Gupta <vineet.gupta1@synopsys.com>
To: Andrey Abramov <st5pub@yandex.ru>,
	benh <benh@kernel.crashing.org>, paulus <paulus@samba.org>,
	mpe <mpe@ellerman.id.au>, tglx <tglx@linutronix.de>,
	mingo <mingo@redhat.com>, bp <bp@alien8.de>, hpa <hpa@zytor.com>,
	x86 <x86@kernel.org>, mark <mark@fasheh.com>,
	jlbec <jlbec@evilplan.org>, richard <richard@nod.at>,
	dedekind1 <dedekind1@gmail.com>,
	adrian.hunter <adrian.hunter@intel.com>,
	gregkh <gregkh@linuxfoundation.org>,
	naveen.n.rao <naveen.n.rao@linux.vnet.ibm.com>,
	jpoimboe <jpoimboe@redhat.com>,
	"Dave Chinner" <dchinner@redhat.com>,
	darrick.wong <darrick.wong@oracle.com>,
	ard.biesheuvel <ard.biesheuvel@linaro.org>,
	George Spelvin <lkml@sdf.org>,
	linux-snps-arc <linux-snps-arc@lists.infradead.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	ocfs2-devel <ocfs2-devel@oss.oracle.com>,
	linux-mtd <linux-mtd@lists.infradead.org>,
	sfr <sfr@canb.auug.org.au>
Cc: mhocko <mhocko@suse.com>, rppt <rppt@linux.ibm.com>
Subject: Re: [PATCH v2 1/5] arch/arc: unwind.c: replace swap function with built-in one
Date: Mon, 1 Apr 2019 17:53:20 +0000	[thread overview]
Message-ID: <C2D7FE5348E1B147BCA15975FBA23075014643F9C4@US01WEMBX2.internal.synopsys.com> (raw)
In-Reply-To: 23405591554057090@iva8-b333b7f98ab0.qloud-c.yandex.net

On 3/31/19 11:31 AM, Andrey Abramov wrote:
> Replace swap_eh_frame_hdr_table_entries with built-in one, because
> swap_eh_frame_hdr_table_entries does a simple byte to byte swap.
>
> Since Spectre mitigations have made indirect function calls more
> expensive, and the default simple byte copies swap is implemented
> without them, an "optimized" custom swap function is now
> a waste of time as well as code.
>
> Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
> Reviewed by: George Spelvin <lkml@sdf.org>
>

Acked-by: Vineet Gupta <vgupta@synopsys.com>

Thx,
-Vineet

WARNING: multiple messages have this Message-ID (diff)
From: Vineet Gupta <vineet.gupta1@synopsys.com>
To: Andrey Abramov <st5pub@yandex.ru>,
	benh <benh@kernel.crashing.org>, paulus <paulus@samba.org>,
	mpe <mpe@ellerman.id.au>, tglx <tglx@linutronix.de>,
	mingo <mingo@redhat.com>, bp <bp@alien8.de>, hpa <hpa@zytor.com>,
	x86 <x86@kernel.org>, mark <mark@fasheh.com>,
	jlbec <jlbec@evilplan.org>, richard <richard@nod.at>,
	dedekind1 <dedekind1@gmail.com>,
	adrian.hunter <adrian.hunter@intel.com>,
	gregkh <gregkh@linuxfoundation.org>,
	naveen.n.rao <naveen.n.rao@linux.vnet.ibm.com>,
	jpoimboe <jpoimboe@redhat.com>,
	"Dave Chinner" <dchinner@redhat.com>,
	darrick.wong <darrick.wong@oracle.com>,
	ard.biesheuvel <ard.biesheuvel@linaro.org>,
	George Spelvin <lkml@sdf.org>,
	linux-snps-arc <linux-snps-arc@lists.infradead.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	ocfs2-devel <ocfs2-devel@oss.oracle.com>,
	linux-mtd <linux-mtd@lists.infradead.org>,
	sfr <sfr@canb.auug.org.au>
Cc: mhocko <mhocko@suse.com>, rppt <rppt@linux.ibm.com>
Subject: Re: [PATCH v2 1/5] arch/arc: unwind.c: replace swap function with built-in one
Date: Mon, 1 Apr 2019 17:53:20 +0000	[thread overview]
Message-ID: <C2D7FE5348E1B147BCA15975FBA23075014643F9C4@US01WEMBX2.internal.synopsys.com> (raw)
In-Reply-To: 23405591554057090@iva8-b333b7f98ab0.qloud-c.yandex.net

On 3/31/19 11:31 AM, Andrey Abramov wrote:
> Replace swap_eh_frame_hdr_table_entries with built-in one, because
> swap_eh_frame_hdr_table_entries does a simple byte to byte swap.
>
> Since Spectre mitigations have made indirect function calls more
> expensive, and the default simple byte copies swap is implemented
> without them, an "optimized" custom swap function is now
> a waste of time as well as code.
>
> Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
> Reviewed by: George Spelvin <lkml@sdf.org>
>

Acked-by: Vineet Gupta <vgupta@synopsys.com>

Thx,
-Vineet

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

WARNING: multiple messages have this Message-ID (diff)
From: vineet.gupta1@synopsys.com (Vineet Gupta)
To: linux-snps-arc@lists.infradead.org
Subject: [PATCH v2 1/5] arch/arc: unwind.c: replace swap function with built-in one
Date: Mon, 1 Apr 2019 17:53:20 +0000	[thread overview]
Message-ID: <C2D7FE5348E1B147BCA15975FBA23075014643F9C4@US01WEMBX2.internal.synopsys.com> (raw)
In-Reply-To: 23405591554057090@iva8-b333b7f98ab0.qloud-c.yandex.net

On 3/31/19 11:31 AM, Andrey Abramov wrote:
> Replace swap_eh_frame_hdr_table_entries with built-in one, because
> swap_eh_frame_hdr_table_entries does a simple byte to byte swap.
>
> Since Spectre mitigations have made indirect function calls more
> expensive, and the default simple byte copies swap is implemented
> without them, an "optimized" custom swap function is now
> a waste of time as well as code.
>
> Signed-off-by: Andrey Abramov <st5pub at yandex.ru>
> Reviewed by: George Spelvin <lkml at sdf.org>
>

Acked-by: Vineet Gupta <vgupta at synopsys.com>

Thx,
-Vineet

  reply	other threads:[~2019-04-01 17:55 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-31 18:28 [PATCH v2 0/5] simple sort swap function improvements Andrey Abramov
2019-03-31 18:28 ` Andrey Abramov
2019-03-31 18:28 ` Andrey Abramov
2019-03-31 18:31 ` [PATCH v2 1/5] arch/arc: unwind.c: replace swap function with built-in one Andrey Abramov
2019-03-31 18:31   ` Andrey Abramov
2019-03-31 18:31   ` Andrey Abramov
2019-04-01 17:53   ` Vineet Gupta [this message]
2019-04-01 17:53     ` Vineet Gupta
2019-04-01 17:53     ` Vineet Gupta
2019-03-31 18:35 ` [PATCH v2 2/5] powerpc: module_[32|64].c: " Andrey Abramov
2019-03-31 18:35   ` Andrey Abramov
2019-03-31 18:35   ` Andrey Abramov
2019-04-01 11:08   ` Michael Ellerman
2019-04-01 11:08     ` Michael Ellerman
2019-04-01 11:08     ` Michael Ellerman
2019-04-01 11:08     ` Michael Ellerman
2019-03-31 18:42 ` [PATCH v2 3/5] ocfs2: dir, refcounttree, xattr: replace swap functions " Andrey Abramov
2019-03-31 18:42   ` Andrey Abramov
2019-03-31 18:42   ` Andrey Abramov
2019-03-31 18:47 ` [PATCH v2 4/5] ubifs: find.c: replace swap function " Andrey Abramov
2019-03-31 18:47   ` Andrey Abramov
2019-03-31 18:47   ` Andrey Abramov
2019-03-31 18:52 ` [PATCH v2 5/5] Lib: sort.h: replace int size with size_t size in the swap function Andrey Abramov
2019-03-31 18:52   ` Andrey Abramov
2019-03-31 18:52   ` Andrey Abramov
2019-04-01  9:35   ` Andy Shevchenko
2019-04-01  9:35     ` Andy Shevchenko
2019-04-01  9:35     ` Andy Shevchenko
2019-04-01  9:35     ` Andy Shevchenko
2019-04-01  9:56     ` George Spelvin
2019-04-01  9:56       ` George Spelvin
2019-04-01  9:56       ` George Spelvin
2019-04-01  9:56       ` George Spelvin
2019-04-01 10:28       ` Andy Shevchenko
2019-04-01 10:28         ` Andy Shevchenko
2019-04-01 10:28         ` Andy Shevchenko
2019-04-01 10:28         ` Andy Shevchenko
2019-04-01  9:25 ` [PATCH v2 0/5] simple sort swap function improvements Andy Shevchenko

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=C2D7FE5348E1B147BCA15975FBA23075014643F9C4@US01WEMBX2.internal.synopsys.com \
    --to=vineet.gupta1@synopsys.com \
    --cc=adrian.hunter@intel.com \
    --cc=ard.biesheuvel@linaro.org \
    --cc=benh@kernel.crashing.org \
    --cc=bp@alien8.de \
    --cc=darrick.wong@oracle.com \
    --cc=dchinner@redhat.com \
    --cc=dedekind1@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hpa@zytor.com \
    --cc=jlbec@evilplan.org \
    --cc=jpoimboe@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=lkml@sdf.org \
    --cc=mark@fasheh.com \
    --cc=mhocko@suse.com \
    --cc=mingo@redhat.com \
    --cc=mpe@ellerman.id.au \
    --cc=naveen.n.rao@linux.vnet.ibm.com \
    --cc=ocfs2-devel@oss.oracle.com \
    --cc=paulus@samba.org \
    --cc=richard@nod.at \
    --cc=rppt@linux.ibm.com \
    --cc=sfr@canb.auug.org.au \
    --cc=st5pub@yandex.ru \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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.