RE: Zero size /proc/vmcore on ia64

2007-02-07 Thread Zou, Nanhai
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Horms > Sent: 2007年2月8日 15:37 > To: Zou, Nanhai > Cc: [EMAIL PROTECTED]; fastboot; Linux-IA64; Luck, Tony > Subject: Re: Zero size /proc/vmcore on ia64 > > On Thu, Feb 08, 2007 at 12:21:02PM +0800, Zou

Re: Zero size /proc/vmcore on ia64

2007-02-07 Thread Horms
On Thu, Feb 08, 2007 at 12:21:02PM +0800, Zou Nan hai wrote: > On Thu, 2007-02-08 at 13:34, Vivek Goyal wrote: > > On Thu, Feb 08, 2007 at 12:06:53PM +0900, Horms wrote: > > > On Thu, Feb 08, 2007 at 10:07:48AM +0800, Zou, Nanhai wrote: > > > > > > > > When crash dump kernel tries to access memory

Re: [RFC Patch]Use ar.kr2 for smp_processor_id

2007-02-07 Thread Zou Nan hai
On Thu, 2007-02-08 at 14:55, Keith Owens wrote: > Keith Owens (on Thu, 08 Feb 2007 17:37:54 +1100) wrote: > >Zou Nan hai (on 08 Feb 2007 12:27:31 +0800) wrote: > >>On Thu, 2007-02-08 at 14:04, Keith Owens wrote: > >>> Zou Nan hai (on 08 Feb 2007 11:28:44 +0800) wrote: > >>> >Pin ar.kr2 of each CPU,

Re: [RFC Patch]Use ar.kr2 for smp_processor_id

2007-02-07 Thread Keith Owens
Keith Owens (on Thu, 08 Feb 2007 17:37:54 +1100) wrote: >Zou Nan hai (on 08 Feb 2007 12:27:31 +0800) wrote: >>On Thu, 2007-02-08 at 14:04, Keith Owens wrote: >>> Zou Nan hai (on 08 Feb 2007 11:28:44 +0800) wrote: >>> >Pin ar.kr2 of each CPU, so that smp_processor_id can use it. >>> >>> Historicall

Re: [RFC Patch]Use ar.kr2 for smp_processor_id

2007-02-07 Thread Zou Nan hai
On Thu, 2007-02-08 at 14:37, Keith Owens wrote: > Zou Nan hai (on 08 Feb 2007 12:27:31 +0800) wrote: > >On Thu, 2007-02-08 at 14:04, Keith Owens wrote: > >> Zou Nan hai (on 08 Feb 2007 11:28:44 +0800) wrote: > >> >Pin ar.kr2 of each CPU, so that smp_processor_id can use it. > >> > >> Historically

Re: [RFC Patch]Use ar.kr2 for smp_processor_id

2007-02-07 Thread Keith Owens
Zou Nan hai (on 08 Feb 2007 12:27:31 +0800) wrote: >On Thu, 2007-02-08 at 14:04, Keith Owens wrote: >> Zou Nan hai (on 08 Feb 2007 11:28:44 +0800) wrote: >> >Pin ar.kr2 of each CPU, so that smp_processor_id can use it. >> >> Historically ar.k2 has been reserved for debugging purposes, for >> examp

Re: [RFC Patch]Use ar.kr2 for smp_processor_id

2007-02-07 Thread Zou Nan hai
On Thu, 2007-02-08 at 14:04, Keith Owens wrote: > Zou Nan hai (on 08 Feb 2007 11:28:44 +0800) wrote: > >Pin ar.kr2 of each CPU, so that smp_processor_id can use it. > > Historically ar.k2 has been reserved for debugging purposes, for > example in ivt.S. Debuggers often need a location that can be

Re: Zero size /proc/vmcore on ia64

2007-02-07 Thread Zou Nan hai
On Thu, 2007-02-08 at 13:34, Vivek Goyal wrote: > On Thu, Feb 08, 2007 at 12:06:53PM +0900, Horms wrote: > > On Thu, Feb 08, 2007 at 10:07:48AM +0800, Zou, Nanhai wrote: > > > > > > Hi Vivek, > > > I have a question about why saved_max_pfn check in vmcore.c is > needed. > > > Here is a typical

Re: [RFC Patch]Use ar.kr2 for smp_processor_id

2007-02-07 Thread Keith Owens
Zou Nan hai (on 08 Feb 2007 11:28:44 +0800) wrote: >Pin ar.kr2 of each CPU, so that smp_processor_id can use it. Historically ar.k2 has been reserved for debugging purposes, for example in ivt.S. Debuggers often need a location that can be used to track progress, it has to be somewhere that does

Re: Zero size /proc/vmcore on ia64

2007-02-07 Thread Vivek Goyal
On Thu, Feb 08, 2007 at 12:06:53PM +0900, Horms wrote: > On Thu, Feb 08, 2007 at 10:07:48AM +0800, Zou, Nanhai wrote: > > > > Hi Vivek, > > I have a question about why saved_max_pfn check in vmcore.c is needed. > > Here is a typical memory layout of IA64 machine. > > > > - ===>max_pfn for

[RFC Patch]Use ar.kr2 for smp_processor_id

2007-02-07 Thread Zou Nan hai
Pin ar.kr2 of each CPU, so that smp_processor_id can use it. This will save some memory foot-print when smp_procerror_id() is called. This is also useful for implement sys_getcpu in fast path. I have simply tested the patch by boot on a 16p system then try offline and online some CPUs through /

Re: [PATCH] [IA64] Include kexec.h in arch/ia64/kernel/process.c

2007-02-07 Thread Randy Dunlap
On Thu, 8 Feb 2007 11:19:03 +0900 Horms wrote: > On Wed, Feb 07, 2007 at 09:07:40AM -0800, Luck, Tony wrote: > > > kexec.h is needed by arch/ia64/kernel/process.c so for the > > > declaration of kexec_disable_iosapic() which is used in > > > machine_shutdown(). > > > > > +#include > > > > I mer

Re: [PATCH 1/2] [IA64] physical mode SAL calls

2007-02-07 Thread Horms
On Wed, Feb 07, 2007 at 03:19:06PM +0900, Horms wrote: > Hi, > > I am resending this patch, which is a consolidated version of 3 or 4 > patches sent late last year. It includes a few minor fixes, and > I have removed the portion which caused the pal code not to be mapped. > > I have been using th

Re: [PATCH] [IA64] Include kexec.h in arch/ia64/kernel/process.c

2007-02-07 Thread Horms
On Wed, Feb 07, 2007 at 09:07:40AM -0800, Luck, Tony wrote: > > kexec.h is needed by arch/ia64/kernel/process.c so for the > > declaration of kexec_disable_iosapic() which is used in > > machine_shutdown(). > > > +#include > > I merged this into your earlier change (moving machine_shutdown() int

Re: Zero size /proc/vmcore on ia64

2007-02-07 Thread Horms
On Thu, Feb 08, 2007 at 10:07:48AM +0800, Zou, Nanhai wrote: > > Hi Vivek, > I have a question about why saved_max_pfn check in vmcore.c is needed. > Here is a typical memory layout of IA64 machine. > > - ===>max_pfn for first kernel >the first kernel > - ===>max_pfn for cra

RE: Zero size /proc/vmcore on ia64

2007-02-07 Thread Zou, Nanhai
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Zou, Nanhai > Sent: 2007年2月6日 9:09 > To: Horms; fastboot@lists.osdl.org; linux-ia64@vger.kernel.org > Cc: Khalid Aziz; Mel Gorman; Bob Picco; Magnus Damm > Subject: RE: Zero size /proc/vmcore on ia64 >

RE: [PATCH] Hook up getcpu system call for IA64

2007-02-07 Thread Zou, Nanhai
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Luck, Tony > Sent: 2007年2月8日 2:00 > To: Ken Chen; Yu, Fenghua > Cc: linux-ia64@vger.kernel.org > Subject: RE: [PATCH] Hook up getcpu system call for IA64 > > > Andi Kleen used to lecture me every so of

RE: [PATCH] Hook up getcpu system call for IA64

2007-02-07 Thread Luck, Tony
> Andi Kleen used to lecture me every so often why it is important to > have fast vgetcpu on x86-64 (I don't think ia64 is excluded from > that). His lecture is also all over the lkml mailing list. I dug though that thread ... it isn't ever explicitly stated, but it does appear that the intent is

RE: [PATCH] [IA64] Include kexec.h in arch/ia64/kernel/process.c

2007-02-07 Thread Luck, Tony
> kexec.h is needed by arch/ia64/kernel/process.c so for the > declaration of kexec_disable_iosapic() which is used in machine_shutdown(). > +#include I merged this into your earlier change (moving machine_shutdown() into process.c). Linus pulled it last night. I also added a "#ifdef CONFIG_KE

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread KAMEZAWA Hiroyuki
On Wed, 7 Feb 2007 00:04:41 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Wed, 7 Feb 2007, KAMEZAWA Hiroyuki wrote: > > > > Hmmm... Remove the node from the node_online_map instead? > > > > > Changing defintion of node_online_map is harmfil. (there are > > cpu-only-nodes.) > > H