Re: [PATCHSET] percpu: generalize first chunk allocators and improve lpage NUMA support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 26, 2009 at 09:40:10AM +0900, Tejun Heo wrote:
> Andi Kleen wrote:
> >> I don't know why, but in the configuration I saw each percpu area was
> >> something like 1.8 MB.
> > 
> > That sounds like something that needs to be investigated and fixed then.
> > In a sense per cpu space is precious like stack space and shouldn't 
> > be wasted.
> 
> The large percpu space is most likely from lockdep.

It would be better then to fix lockdep then to add weird hacks for that
elsewhere.

e.g. it could just allocate buffers in a cpu up/down callback and 
only put a pointer to these buffers into percpu.

-Andi
-- 
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux