[PATCH V2] Skip unnecessary pte makeup when clearing it

bill4carson at gmail.com bill4carson at gmail.com
Sun Jan 29 20:43:11 EST 2012


If we are only about to clear a hardware pte entry, then pte makeup code is
unnecessary for cpu_v7_set_pte_ext and armv6_set_pte_ext, so just skip it.

Signeed-off-by: Bill Carson <bill4carson at gmail.com>
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Cc: arm-mail-list <linux-arm-kernel at lists.infradead.org>


Changes for V2:
    - Use "1f" instead of "set_pte" as label
    - Build/bootup test with thumb mode
    - checkpatch script shows:
total: 0 errors, 0 warnings, 44 lines checked

./0001-Skip-unnecessary-pte-makeup-when-clearing-it.patch has no obvious style problems and is ready for submission.

 arch/arm/mm/proc-macros.S    |   10 +++++-----
 arch/arm/mm/proc-v7-2level.S |   10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)



More information about the linux-arm-kernel mailing list