linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Align MIPS swapper_pg_dir for faster code.
@ 2012-08-14 18:07 David Daney
  2012-08-14 18:08 ` [PATCH 1/2] vmlinux.lds.h: Allow architectures to add sections to the front of .bss David Daney
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: David Daney @ 2012-08-14 18:07 UTC (permalink / raw)
  To: linux-mips, ralf, linux-arch, linux-kernel, Arnd Bergmann; +Cc: David Daney

From: David Daney <david.daney@cavium.com>

The MIPS swapper_pg_dir needs 64K alignment for faster TLB refills in
kernel mappings.  There are two parts to the patch set:

1) Modify generic vmlinux.lds.h to allow architectures to place
   additional sections at the start of .bss.  This allows alignment
   constraints to be met with minimal holes added for padding.
   Putting this in common code should reduce the risk of future
   changes to the linker scripts not being propagated to MIPS (or any
   other architecture that needs something like this).

2) Align the MIPS swapper_pg_dir.

Since the initial use of the code is for MIPS, perhaps both parts
could be merged by Ralf's tree (after collecting any Acked-bys).

David Daney (2):
  vmlinux.lds.h: Allow architectures to add sections to the front of
    .bss
  MIPS: Align swapper_pg_dir to 64K for better TLB Refill code.

 arch/mips/kernel/vmlinux.lds.S    |   21 +++++++++++++++++++--
 arch/mips/mm/init.c               |   17 +++++++++--------
 include/asm-generic/vmlinux.lds.h |    9 +++++++++
 3 files changed, 37 insertions(+), 10 deletions(-)

-- 
1.7.2.3

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-15 10:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-14 18:07 [PATCH 0/2] Align MIPS swapper_pg_dir for faster code David Daney
2012-08-14 18:08 ` [PATCH 1/2] vmlinux.lds.h: Allow architectures to add sections to the front of .bss David Daney
2012-08-14 18:08   ` David Daney
2012-08-14 18:08 ` [PATCH 2/2] MIPS: Align swapper_pg_dir to 64K for better TLB Refill code David Daney
2012-08-14 18:08   ` David Daney
2012-08-14 18:39 ` [PATCH 0/2] Align MIPS swapper_pg_dir for faster code Arnd Bergmann
2012-08-15 10:57 ` Ralf Baechle

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).