[Linaro-mm-sig] [RFC PATCH 1/2] kernel/locking/ww_mutex: Add per-lock lock-check helpers