Looks reasonable but I would prefer to see explicit tests of the abi version so that we use the old register MR ABI for old kernels rather than unconditionally passing the extra parameter.