On 6/1/17 6:32 AM, Peter Zijlstra wrote:
OK, do that. Something like the below should do I suppose.It will return -EOPNOTSUPP for permanent failure (it cannot ever work) and -EINVAL for temporary failure (could work if you call it on another task/cpu).
Thanks! Will test it and report back.