lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1381493921.8305.63.camel@deneb.redhat.com>
Date:	Fri, 11 Oct 2013 08:18:41 -0400
From:	Mark Salter <msalter@...hat.com>
To:	Will Deacon <will.deacon@....com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Catalin Marinas <Catalin.Marinas@....com>
Subject: Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote:
> > @@ -110,6 +110,7 @@ SECTIONS
> >                */
> >               INIT_TASK_DATA(THREAD_SIZE)
> >               NOSAVE_DATA
> > +             PAGE_ALIGNED_DATA(PAGE_SIZE)
> >               CACHELINE_ALIGNED_DATA(64)
> >               READ_MOSTLY_DATA(64)
> 
> Can we just replace this chunk with RW_DATA_SECTION(64, PAGE_SIZE,
> THREAD_SIZE) instead?
> 

I took a look at this. It can be done, but the RW_DATA_SECTION aligns
data to PAGE_SIZE where the existing alignment is THREAD_SIZE. So using
RW_DATA_SECTION would waste some space if using 64K pagesize.

--Mark


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ