RE: [patch 01/41] cpu_alloc: Increase percpu area size to 128k

From: Luck, Tony
Date: Tue Jun 10 2008 - 15:54:56 EST


> > > -#define PERCPU_PAGE_SHIFT 16 /* log2() of max. size of per-CPU area */
> > > +#define PERCPU_PAGE_SHIFT 17 /* log2() of max. size of per-CPU area */
> >
> > Don't you need some more changes to the alt_dtlb_miss handler in
> > ivt.S for this to work? 128K is not a supported pagesize on any
> > processor model.
>
> Ok so this needs to be 18?

Yes. 18 will work (256K is an architected page size, guaranteed to be supported
by all processor models ... SDM 2:52 table 4-4).

-Tony

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/