Re: [PATCH 1/1] debugobjects: Allow bigger number of objects

From: Thomas Gleixner
Date: Wed Jan 27 2016 - 08:39:10 EST


On Wed, 27 Jan 2016, Christian Borntraeger wrote:

> On 01/26/2016 09:22 PM, Thomas Gleixner wrote:
> > On Fri, 22 Jan 2016, Christian Borntraeger wrote:
> >
> >> On my bigger s390 systems I always get
> >> "Out of memory. ODEBUG disabled". Since the number of objects
> >> is needed at compile time in the code, let's provide a Kconfig
> >> variable to increase the number of static objects.
> >
> > How many do you need on those big machines? Can't we scale that automagically
> > with the number of cpus or such?
>
> It seems to be 530 - actually pretty close.
> Hmm, we could simply increase that to 1000, it is initdata anyway?

Yes, it's initdata, so it doesn't matter much.

Thanks,

tglx