login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
30
Re: [PATCH 10/11] x86: Remove unnecessary ifdefs from i387 code.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Pekka Enberg
Subject:
Re: [PATCH 10/11] x86: Remove unnecessary ifdefs from i387 code.
Date: Sunday, August 29, 2010 - 10:44 pm
Hi Brian, On 8/30/10 2:38 AM, Brian Gerst wrote:
quoted text
> On Sun, Aug 29, 2010 at 3:00 PM, Pekka Enberg<penberg@kernel.org> wrote: >> On Sat, Aug 28, 2010 at 7:04 PM, Brian Gerst<brgerst@gmail.com> wrote: >>> Remove ifdefs for code that the compiler can optimize away on 64-bit. >>> >>> Signed-off-by: Brian Gerst<brgerst@gmail.com> >>> @@ -74,10 +74,8 @@ static void __cpuinit init_thread_xstate(void) >>> >>> if (cpu_has_fxsr) >>> xstate_size = sizeof(struct i387_fxsave_struct); >>> -#ifdef CONFIG_X86_32 >>> else >>> xstate_size = sizeof(struct i387_fsave_struct); >>> -#endif >>> } >> I guess this is OK but keep in mind that cpu_has_fsxr is _not_ >> optimized by the compiler on 64-bit so the change probably increases >> kernel text by few bytes. > FXSR is a required feature on 64-bit, therefore cpu_has_fxsr is always true.
Yes, I realize that but it will still read boot_cpu_data at runtime, no? Pekka --
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 10/11] x86: Remove unnecessary ifdefs from i387 code.
, Brian Gerst
, (Sat Aug 28, 9:04 am)
Re: [PATCH 10/11] x86: Remove unnecessary ifdefs from i387 ...
, Pekka Enberg
, (Sun Aug 29, 12:00 pm)
Re: [PATCH 10/11] x86: Remove unnecessary ifdefs from i387 ...
, Brian Gerst
, (Sun Aug 29, 4:38 pm)
Re: [PATCH 10/11] x86: Remove unnecessary ifdefs from i387 ...
, Pekka Enberg
, (Sun Aug 29, 10:44 pm)
Re: [PATCH 10/11] x86: Remove unnecessary ifdefs from i387 ...
, Brian Gerst
, (Mon Aug 30, 4:21 am)
Re: [PATCH 10/11] x86: Remove unnecessary ifdefs from i387 ...
, Pekka Enberg
, (Mon Aug 30, 4:25 am)
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
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
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
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
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
bnx2x: Moving includes
Linux Kernel Mailing List
[ARM] mmp: add dma support to mmp2
Colocation donated by:
Syndicate