Re: [PATCH 00/05] robust per_cpu allocation for modules
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Nick Piggin <nickpiggin@xxxxxxxxxxxx>
- Subject: Re: [PATCH 00/05] robust per_cpu allocation for modules
- From: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Date: Sat, 15 Apr 2006 16:17:01 -0400 (EDT)
- Cc: LKML <linux-kernel@xxxxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Martin Mares <mj@xxxxxxxxxxxxxxxxxxxxxxxx>, bjornw@xxxxxxxx, schwidefsky@xxxxxxxxxx, benedict.gaster@xxxxxxxxxx, lethal@xxxxxxxxxxxx, Chris Zankel <chris@xxxxxxxxxx>, Marc Gauthier <marc@xxxxxxxxxxxxx>, Joe Taylor <joe@xxxxxxxxxxxxx>, David Mosberger-Tang <davidm@xxxxxxxxxx>, rth@xxxxxxxxxxx, spyro@xxxxxxx, starvik@xxxxxxxx, tony.luck@xxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, ralf@xxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, grundler@xxxxxxxxxxxxxxxx, parisc-linux@xxxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxx, paulus@xxxxxxxxx, linux390@xxxxxxxxxx, davem@xxxxxxxxxxxxx
- In-reply-to: <4440855A.7040203@xxxxxxxxxxxx>
- References: <1145049535.1336.128.camel@xxxxxxxxxxxxxxxxxxxxx> <4440855A.7040203@xxxxxxxxxxxx>
On Sat, 15 Apr 2006, Nick Piggin wrote:
> Steven Rostedt wrote:
>
> > would now create a variable called per_cpu_offset__myint in
> > the .data.percpu_offset section. This variable will point to the (if
> > defined in the kernel) __per_cpu_offset[] array. If this was a module
> > variable, it would point to the module per_cpu_offset[] array which is
> > created when the modules is loaded.
>
> If I'm following you correctly, this adds another dependent load
> to a per-CPU data access, and from memory that isn't node-affine.
>
> If so, I think people with SMP and NUMA kernels would care more
> about performance and scalability than the few k of memory this
> saves.
It's not just about saving memory, but also to make it more robust. But
that's another story.
Since both the offset array, and the variables are mainly read only (only
written on boot up), added the fact that the added variables are in their
own section. Couldn't something be done to help pre load this in a local
cache, or something similar?
I understand SMP issues pretty well, but NUMA is still somewhat foreign to
me.
-- Steve
-
: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]