Re: [PATCH] Fix a SEGV due to uninitialised mask
Filipe Brandenburger <[email protected]> Wed, 18 Feb 2015 13:39:09 -0800
| Newsgroups | org.kernel.vger.linux-numa |
|---|---|
| Message-ID | <CADU+-uAkabE80TjG1T-20G9xCZZyMRqu89gOQtqcyFZ9vpatPg@mail.gmail.com> |
Hi, On Mon, Feb 16, 2015 at 8:06 PM, Daniel J Blueman <[email protected]> wrote: > As node_cpu_mask_v2 is not defined as local to the compilation unit with > 'static', it is not guaranteed to be initialised to zero (ie in the .bss). > This was leading to some SEGVs we've seen. > > Also mark another internal function local to the compilation unit. > > Signed-off-by: Daniel J Blueman <[email protected]> Pushed. Thanks for the contribution! Cheers, Filipe