login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
9
Re: [PATCH] x86: remove __phys_reloc_hide
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: H. Peter Anvin
Subject:
Re: [PATCH] x86: remove __phys_reloc_hide
Date: Monday, August 9, 2010 - 11:56 am
On 08/09/2010 01:07 AM, Ingo Molnar wrote:
quoted text
> > * Namhyung Kim <namhyung@gmail.com> wrote: > >> remove unnecessary use of RELOC_HIDE(). It only does simple addition of ptr >> and offset, and in this case, offset 0, does nothing. It does NOT do anything >> with linker relocation things. I could find no reason to use it. >> >> The only user of __phys_reloc_hide() was __pa_symbol() so it can be removed >> safely here. >> >> Signed-off-by: Namhyung Kim <namhyung@gmail.com> >> --- >> arch/x86/include/asm/page.h | 5 ++--- >> arch/x86/include/asm/page_32.h | 1 - >> arch/x86/include/asm/page_64_types.h | 1 - >> 3 files changed, 2 insertions(+), 5 deletions(-) > > We do this as a general Voodoo barrier against GCC miscompilations. > > You are right that it's largely moot by today (and especially so on x86 - i > only remember a single instance of miscompilation that Rusty mentioned few > years ago, and that was on powerpc), but the wrapper is simple enough, so > unless there's some real tangible improvement in the binary output we might as > well keep it. > > Peter, what do you think? >
I agree... I suspect it might make some difference for gcc 3 stragglers. -hpa --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] x86: remove __phys_reloc_hide
, Namhyung Kim
, (Sun Aug 8, 2:38 pm)
Re: [PATCH] x86: remove __phys_reloc_hide
, Andi Kleen
, (Sun Aug 8, 11:22 pm)
Re: [PATCH] x86: remove __phys_reloc_hide
, Namhyung Kim
, (Sun Aug 8, 11:40 pm)
Re: [PATCH] x86: remove __phys_reloc_hide
, Andi Kleen
, (Sun Aug 8, 11:44 pm)
Re: [PATCH] x86: remove __phys_reloc_hide
, Namhyung Kim
, (Mon Aug 9, 12:04 am)
Re: [PATCH] x86: remove __phys_reloc_hide
, Andi Kleen
, (Mon Aug 9, 12:22 am)
Re: [PATCH] x86: remove __phys_reloc_hide
, Namhyung Kim
, (Mon Aug 9, 12:47 am)
Re: [PATCH] x86: remove __phys_reloc_hide
, Ingo Molnar
, (Mon Aug 9, 1:07 am)
Re: [PATCH] x86: remove __phys_reloc_hide
, H. Peter Anvin
, (Mon Aug 9, 11:56 am)
Re: [PATCH] x86: remove __phys_reloc_hide
, H. Peter Anvin
, (Mon Aug 9, 11:56 am)
Re: [PATCH] x86: remove __phys_reloc_hide
, Ingo Molnar
, (Tue Aug 10, 12:05 am)
Re: [PATCH] x86: remove __phys_reloc_hide
, Namhyung Kim
, (Tue Aug 10, 3:46 am)
Re: [PATCH] x86: remove __phys_reloc_hide
, Namhyung Kim
, (Tue Aug 10, 10:44 pm)
[PATCH] x86: add a comment to __pa_symbol
, Namhyung Kim
, (Tue Aug 10, 11:37 pm)
[tip:x86/urgent] x86: Document __phys_reloc_hide() usage i ...
, tip-bot for Namhyung Kim
, (Wed Aug 11, 12:44 am)
Re: [PATCH] x86: remove __phys_reloc_hide
, H. Peter Anvin
, (Wed Aug 11, 12:09 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
Linus Torvalds
Linux 2.6.34-rc4
Nick Piggin
Re: dealing with barriers (was Re: [PATCH] firewire: fw-core: enforce write order ...
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
frantisek holop
Re: splassert: vwakeup: and friends
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Ron Mercer
[net-next PATCH 2/2] qlge: Version change to v1.00.00.27
Maciej W. Rozycki
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
git-commits-head
:
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
[ARM] mmp: add dma support to mmp2
Linux Kernel Mailing List
bnx2x: Moving includes
Colocation donated by:
Syndicate