[PATCH 1/2] ARM: implement support for read-mostly sections

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Dec 5 18:04:34 EST 2010


On Sun, Dec 05, 2010 at 10:18:27PM +0000, Catalin Marinas wrote:
> On 5 December 2010 11:43, Russell King - ARM Linux
> <linux at 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.
It should be a separate patch.



More information about the linux-arm-kernel mailing list