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

From: Ralf Baechle
Date: Wed Aug 15 2012 - 06:57:23 EST


On Tue, Aug 14, 2012 at 11:07:59AM -0700, David Daney wrote:

> From: David Daney <david.daney@xxxxxxxxxx>
>
> 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).

Looks good to me but will wait a bit longer for comments and (N)Acks
before merging.

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