RE: [PATCH 00/05] robust per_cpu allocation for modules
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "'Steven Rostedt'" <rostedt@xxxxxxxxxxx>, "LKML" <linux-kernel@xxxxxxxxxxxxxxx>, "Andrew Morton" <akpm@xxxxxxxx>
- Subject: RE: [PATCH 00/05] robust per_cpu allocation for modules
- From: "Chen, Kenneth W" <kenneth.w.chen@xxxxxxxxx>
- Date: Fri, 14 Apr 2006 15:12:52 -0700
- Cc: "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>, "Luck, Tony" <tony.luck@xxxxxxxxx>, <linux-ia64@xxxxxxxxxxxxxxx>, <ralf@xxxxxxxxxxxxxx>, <linux-mips@xxxxxxxxxxxxxx>, <grundler@xxxxxxxxxxxxxxxx>, <parisc-linux@xxxxxxxxxxxxxxxx>, <linuxppc-dev@xxxxxxxxxx>, <paulus@xxxxxxxxx>, <linux390@xxxxxxxxxx>, <lethal@xxxxxxxxxxxx>, <davem@xxxxxxxxxxxxx>, <chris@xxxxxxxxxx>
- In-reply-to: <1145049535.1336.128.camel@xxxxxxxxxxxxxxxxxxxxx>
- Thread-index: AcZgCRaKo5LPRXFvTha4PDZxynOXogAByO9A
- Trustexchangesourcedmail: True
Steven Rostedt wrote on Friday, April 14, 2006 2:19 PM
> So the current solution has two flaws:
> 1. not robust. If we someday add more modules that together take up
> more than 14K, we need to manually update the PERCPU_ENOUGH_ROOM.
> 2. waste of memory. We have 14K of memory wasted per CPU. Remember
> a 64 processor machine would be wasting 896K of memory!
If someone who has the money to own a 64-process machine, 896K of memory
is pocket change ;-)
- Ken
-
: 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]