[PATCH 9/9] ARM: Add SWP/SWPB emulation for ARMv7 processors (v5)

Leif Lindholm leif.lindholm at arm.com
Thu Sep 2 13:04:24 EDT 2010


> From: Olof Johansson [mailto:olof at lixom.net]
> >
> > 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, it
> also
> 
> 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.

/
    Leif





More information about the linux-arm-kernel mailing list