From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: implement support for read-mostly sections
Date: Mon, 6 Dec 2010 17:51:39 +0000 [thread overview]
Message-ID: <AANLkTincr7dbFuXmAFo2S-mGe6FoR0V4cFp+6XVSmF3J@mail.gmail.com> (raw)
In-Reply-To: <20101205230434.GI9138@n2100.arm.linux.org.uk>
On 5 December 2010 23:04, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Sun, Dec 05, 2010 at 10:18:27PM +0000, Catalin Marinas wrote:
>> On 5 December 2010 11:43, Russell King - ARM Linux
>> <linux@arm.linux.org.uk> wrote:
>> > diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
>> > index cead889..1581f6d 100644
>> > --- a/arch/arm/kernel/vmlinux.lds.S
>> > +++ b/arch/arm/kernel/vmlinux.lds.S
>> > @@ -167,6 +167,7 @@ SECTIONS
>> >
>> > ? ? ? ? ? ? ? ?NOSAVE_DATA
>> > ? ? ? ? ? ? ? ?CACHELINE_ALIGNED_DATA(32)
>> > + ? ? ? ? ? ? ? READ_MOSTLY_DATA(32)
>>
>> Should we change the alignments to 64?
>
> When we have some way to tell vmlinux.lds.S what the cache line size is.
I haven't tried but can we not use CONFIG_ARM_L1_CACHE_SHIFT?
--
Catalin
next prev parent reply other threads:[~2010-12-06 17:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-05 11:42 [PATCH 0/2] Support for __read_mostly Russell King - ARM Linux
2010-12-05 11:43 ` [PATCH 1/2] ARM: implement support for read-mostly sections Russell King - ARM Linux
2010-12-05 22:18 ` Catalin Marinas
2010-12-05 23:04 ` Russell King - ARM Linux
2010-12-06 17:51 ` Catalin Marinas [this message]
2010-12-05 11:43 ` [PATCH 2/2] ARM: move high-usage mostly read variables in setup.c to __read_mostly Russell King - ARM Linux
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTincr7dbFuXmAFo2S-mGe6FoR0V4cFp+6XVSmF3J@mail.gmail.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).