> The real problem is that futex(2) is actually 3 different syscalls wrapped > into one. It was split into three then kdump could properly report > futex_wake(2) and futex_requeue(2) as returning a count, while > futex_wait(2) returns an errno. The existing 'switch' in sys_futex() > would just move to userspace's futex(3), provided for linux compat.
I have such a diff from half a year ago. Let me get it back in shape and I'll send it back here.