Re: [PATCH -v3 0/6] rcu,nohz,kvm: use RCU extended quiescent state when running KVM guest

From: Will Deacon
Date: Mon Feb 09 2015 - 20:16:02 EST


Hi Rik,

On Mon, Feb 09, 2015 at 04:04:38PM +0000, riel@xxxxxxxxxx wrote:
> Apologies to Catalin and Will for not fixing up ARM. I am not
> familiar with ARM assembly, and not sure how to pass a constant
> argument to a function from assembly code on ARM :)

It's a bit of a faff getting enum values into asm -- we actually have to
duplicate the definitions using #defines to get at the constants. Perhaps it
would be cleaner to leave context_tracking_user_{enter,exit} intact as C
wrappers around context_tracking_{enter,exit} passing the appropriate
constant? That way we don't actually need to change the arch code at all.

Will
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/