On Fri, Oct 07, 2016 at 08:58:43AM -0700, Linus Torvalds wrote:
The other choice would be to just make the choices be negative (==I thought about that, but liked the enum better for having to then spell
recursive), zero (== failed) or positive (== got lock), which allows
for the same value re-use for the non-recursive case, and you could
avoid the enum entirely.
I'll go make the enum shout and add comment as you suggest.