ARM tracehook support

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Feb 21 12:30:37 EST 2012


On Tue, Feb 21, 2012 at 05:24:09PM +0000, Will Deacon wrote:
> Ok, if the low-level code doesn't need to interpret arguments then that
> should be fine. sys_arm_fadvise64_64 would be the tricky case, but the
> argument ordering seems to have been chosen explicitly to place the 64-bit
> offsets naturally on even registers, fitting it neatly into 6 registers.

That was done because the standard argument order was impossible to pass
in the available register set with EABI.  It would have meant having to
move the syscall number into r8 or higher, which would've been rather
unfriendly to Thumb code.



More information about the linux-arm-kernel mailing list