[PATCH 9/9] ARM: Add SWP/SWPB emulation for ARMv7 processors (v5)
From: Olof Johansson <hidden>
Date: 2010-09-02 17:20:28
From: Olof Johansson <hidden>
Date: 2010-09-02 17:20:28
On Thu, Sep 02, 2010 at 06:04:24PM +0100, Leif Lindholm wrote:
quoted
From: Olof Johansson [mailto:olof at lixom.net]quoted
This patch adds the alternative solution to emulate the SWP and SWPB instructions using LDREX/STREX sequences, and log statistics to /proc/cpu/swp_emulation. To correctly deal with copy-on-write, italso Sounds like debugfs would be a better place to export this through? That's what PPC does.It made sense to me to place it with /proc/cpu/alignment. Moving both of these into debugfs might well make sense in the future, but I think that should be a separate patch.
Yep, works for me. -Olof