Re: [PATCH v3 0/2] Ajust lockdep static allocations for sparc

From: Peter Zijlstra
Date: Tue Nov 29 2016 - 07:36:07 EST


On Tue, Nov 29, 2016 at 01:29:07PM +0100, Peter Zijlstra wrote:
> > BTW, is there any particular reason these huge arrays are in BSS, and not
> > allocated dynamically? That would solve my problems as well...
>
> Is there a memory allocator available before _any_ locks are used, and
> that itself also doesn't use locks?

And if that is, the platform could use that to allocate .bss, no?