Re: [PATCH] -mm: acpi idle __read_mostly and de-init static var

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

 



Hi,

On Tue, 18 Apr 2006, Andrew Morton wrote:

> Andreas Mohr <[email protected]> wrote:
> >
> > - don't remove static init value of nocst and bm_history
> >    since __read_mostly may be special
> >    (see e.g. http://www.ussg.iu.edu/hypermail/linux/kernel/0010.0/0771.html)
> > 
> 
> hm, that was six years ago.  I'm vaguely surprised that the initialisation
> was needed even then.  It isn't needed now.  Or if it is, we need to find
> out why and fix it.

I guess 2.7.2 was still a valid compiler then. :)
All later versions don't behave like this, although it's still documented 
like this: http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html

bye, Roman
-
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