login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
4
Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead of numeric constant
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
H. Peter Anvin <hpa@...>
To: Ingo Molnar <mingo@...>
Cc: Sam Ravnborg <sam@...>, Cyrill Gorcunov <gorcunov@...>, Andi Kleen <ak@...>, Thomas Gleixner <tglx@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead of numeric constant
Date: Monday, February 4, 2008 - 4:39 pm
Ingo Molnar wrote:
quoted text
> * Sam Ravnborg <sam@ravnborg.org> wrote: > >> Hi Cyrill. >> On Mon, Feb 04, 2008 at 08:10:37PM +0300, Cyrill Gorcunov wrote: >>> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> >> The patch looks simple but please explain why you do what you do. It >> took me some digging before I could convince mysleft this was indeed a >> correct change. And I am pretty sure you did the same investigation >> yourself. >> >> A comment like: >> >> arch/x866/kernel/inittask.c require all variables allocated in >> the section .data.init_task to be aligned with THREAD_SIZE. >> >> would have made me happy. > > Btw., given that on x86 we've moved away from the %esp based task stack > trick and use an %fs based Percpu-Data-Area (PDA) to access the current > task pointer, this alignment might not be necessary anymore. It's a > historic relic of the mask-%esp trick. >
Was that *ever* used on x86-64? I thought x86-64 always used %gs for this. -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: vmlinux_64.lds.S - use THREAD_SIZE instead of n...
, Cyrill Gorcunov
, (Mon Feb 4, 1:10 pm)
Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead ...
, Sam Ravnborg
, (Mon Feb 4, 4:22 pm)
Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead ...
, Ingo Molnar
, (Mon Feb 4, 4:33 pm)
Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead ...
, H. Peter Anvin
, (Mon Feb 4, 4:39 pm)
Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead ...
, Cyrill Gorcunov
, (Mon Feb 4, 5:12 pm)
Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead ...
, Sam Ravnborg
, (Mon Feb 4, 5:26 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Hiten Pandya
Re: up? (emacs docbook xml ide)
Martin Michlmayr
Network slowdown due to CFS
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
netbsd-tech-kern
:
Christos Zoulas
Re: Boot device confusion
Manuel Bouyer
Re: NFSv3 bug
Anders Magnusson
Re: setsockopt() compat issue
Martin Husemann
Re: Compressed vnd handling tested successfully
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
935 guests
online.
Online users
cbelgrnc87x
Syndicate