Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead of numeric constant

2008-02-04 Thread Sam Ravnborg
On Tue, Feb 05, 2008 at 12:12:32AM +0300, Cyrill Gorcunov wrote: > Sam, Ingo, Peter, i didn't commented it 'cause there was no comment in > 32bit version. And Sam, you are so right - i spent some time on trying > to remember that 8192 bytes trick, and it seems it's not actual > anymore for 64bits c

Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead of numeric constant

2008-02-04 Thread Cyrill Gorcunov
Sam, Ingo, Peter, i didn't commented it 'cause there was no comment in 32bit version. And Sam, you are so right - i spent some time on trying to remember that 8192 bytes trick, and it seems it's not actual anymore for 64bits cpu. As punishment for myself i'm going to shut up for a week. Sorry for s

Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead of numeric constant

2008-02-04 Thread H. Peter Anvin
Ingo Molnar wrote: * Sam Ravnborg <[EMAIL PROTECTED]> wrote: Hi Cyrill. On Mon, Feb 04, 2008 at 08:10:37PM +0300, Cyrill Gorcunov wrote: Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> The patch looks simple but please explain why you do what you do. It took me some digging before I could

Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead of numeric constant

2008-02-04 Thread Ingo Molnar
* Sam Ravnborg <[EMAIL PROTECTED]> wrote: > Hi Cyrill. > On Mon, Feb 04, 2008 at 08:10:37PM +0300, Cyrill Gorcunov wrote: > > Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> > > The patch looks simple but please explain why you do what you do. It > took me some digging before I could convinc

Re: [PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead of numeric constant

2008-02-04 Thread Sam Ravnborg
Hi Cyrill. On Mon, Feb 04, 2008 at 08:10:37PM +0300, Cyrill Gorcunov wrote: > Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> 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 pret

[PATCH] x86: vmlinux_64.lds.S - use THREAD_SIZE instead of numeric constant

2008-02-04 Thread Cyrill Gorcunov
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> --- Index: linux-2.6.git/arch/x86/kernel/vmlinux_64.lds.S === --- linux-2.6.git.orig/arch/x86/kernel/vmlinux_64.lds.S 2008-01-30 17:51:57.0 +0300 +++ linux-2.6.git/arch/x86/k