[Top] [All Lists]

[PATCH 0/2] Align MIPS swapper_pg_dir for faster code.

To:,,,, Arnd Bergmann <>
Subject: [PATCH 0/2] Align MIPS swapper_pg_dir for faster code.
From: David Daney <>
Date: Tue, 14 Aug 2012 11:07:59 -0700
Cc: David Daney <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=6SVsbCjPaUva61aiBw20u0Qhxl87SCvC44yNoG+P680=; b=u4quZOb951wjoLzLTmTUIJ2y6n0RjfCtqS+Uy8WccIGj1OvBBp1o1xVej/1stdyXZC RptGdg9xt/TNY2jYxdcqpW/Mhxm/VZrqmgDIOLM22evuIE3ofLciAM2tZ8tIZUlHx7Be ifaCgo780KT1IMD/zrjKtAhkEo6CLXYxO1RqgDSEnEcJCHdnWchdHrVjI3+lsvXknpXN FAtRHEhfOpYWDo4/SMobSSMXXWOQx9We0rcFxTTEGDdz3AXPpcchFRJGG9JH08zSk2MK x3F4sETdyjZfxCd/7Vvzx+YkIREAWn5/x0AmEke9OqJW8hDNJZ5WoJzJPS9zO0mECfAl 1wkA==
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
From: David Daney <>

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 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): Allow architectures to add sections to the front of
  MIPS: Align swapper_pg_dir to 64K for better TLB Refill code.

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


<Prev in Thread] Current Thread [Next in Thread>