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 <andi@xxxxxxxxxxxxxxxxxxxxxxx> 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-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux