Re: [PATCH] Fix initialization of runqueues

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

 



* Samuel Thibault <[email protected]> wrote:

> Hi,
> 
> There's an odd thing about the nr_active field in arrays of 
> runqueue_t: it is actually never initialized to 0!...  This doesn't 
> yet trigger a bug probably because the way runqueues are allocated 
> make it so that it is already initialized to 0, but that's not a safe 
> way.  Here is a patch:

we do rely on zero initialization of bss (and percpu) data in a number 
of places.

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux