On Mon, 07 Aug 2006 23:47:23 -0600 [email protected] (Eric W. Biederman) wrote: > +#ifdef CONFIG_MODULES > +# define PERCPU_MODULE_RESERVE 8192 > +#else > +# define PERCPU_MODULE_RESERVE 0 > +#endif > + > +#define PERCPU_ENOUGH_ROOM \ > + (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \ > + PERCPU_MODULE_RESERVE) > + Seems sane, but isn't 8192 a bit small? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] x86_64: Auto size the per cpu area.
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH] x86_64: Auto size the per cpu area.
- References:
- [PATCH] x86_64: Make NR_IRQS configurable in Kconfig
- From: [email protected] (Eric W. Biederman)
- [PATCH] x86_64: Make NR_IRQS configurable in Kconfig
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH] x86_64: Make NR_IRQS configurable in Kconfig
- From: Andrew Morton <[email protected]>
- Re: [PATCH] x86_64: Make NR_IRQS configurable in Kconfig
- From: Andi Kleen <[email protected]>
- Re: [PATCH] x86_64: Make NR_IRQS configurable in Kconfig
- From: Andrew Morton <[email protected]>
- Re: [PATCH] x86_64: Make NR_IRQS configurable in Kconfig
- From: Arjan van de Ven <[email protected]>
- [PATCH] x86_64: Auto size the per cpu area.
- From: [email protected] (Eric W. Biederman)
- [PATCH] x86_64: Make NR_IRQS configurable in Kconfig
- Prev by Date: [PATCH] x86_64: Auto size the per cpu area.
- Next by Date: Re: [PATCH] x86_64: Auto size the per cpu area.
- Previous by thread: [PATCH] x86_64: Auto size the per cpu area.
- Next by thread: Re: [PATCH] x86_64: Auto size the per cpu area.
- Index(es):