From: David Miller <davem@xxxxxxxxxxxxx> Date: Thu, 01 Nov 2007 00:01:18 -0700 (PDT) > From: Christoph Lameter <clameter@xxxxxxx> > Date: Wed, 31 Oct 2007 21:16:59 -0700 (PDT) > > > Index: linux-2.6/mm/allocpercpu.c > > =================================================================== > > --- linux-2.6.orig/mm/allocpercpu.c 2007-10-31 20:53:16.565486654 -0700 > > +++ linux-2.6/mm/allocpercpu.c 2007-10-31 21:00:27.553486484 -0700 > ... > > @@ -37,7 +42,7 @@ enum unit_type { FREE, END, USED }; > > > > static u8 cpu_alloc_map[UNITS_PER_CPU] = { 1, }; > > static DEFINE_SPINLOCK(cpu_alloc_map_lock); > > -static DEFINE_PER_CPU(int, cpu_area)[UNITS_PER_CPU]; > > +static DEFINE_PER_CPU(unsigned long long, cpu_area)[UNITS_PER_CPU]; > > > > #define CPU_DATA_OFFSET ((unsigned long)&per_cpu__cpu_area) > > > > This hunk helped the sparc64 looping OOPS I was getting, but cpus hang > in some other fashion soon afterwards. And if I bump PER_CPU_ALLOC_SIZE up to 128K it seems to mostly work. You'll definitely need to make this work dynamically somehow. - To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html