Re: [PATCH] Move some variables into the "most_readonly" section??

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

 



Andrew Morton wrote:
christoph <[email protected]> wrote:

On Tue, 14 Jun 2005, Andrew Morton wrote:


I think readmostliness and alignment are mostly-unrelated concepts and
should have separate tag thingies.  IOW,
__cacheline_aligned_mostly_readonly goes away and to handle things like the
cpu maps we do:

Yup that makes the whole thing much more sane. Can we specify multiple attributes to a variable?


I suppose so.

Compiling this:

int x   __attribute__((__aligned__(32)))
        __attribute__((__section__(".data.mostly_readonly")));


Can I just throw in something unrelated and not very constructive
and ask that we call it 'read_mostly' instead of mostly_readonly?

mostly_readonly kind of says to me that most items in the section
are read only, read_mostly says all the items are mostly only read.

--
SUSE Labs, Novell Inc.

Send instant messages to your online friends http://au.messenger.yahoo.com -
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