Re: Runtime trouble with commit dbd952127d (seccomp: introduce writer locking)

From: Oleg Nesterov
Date: Mon Aug 11 2014 - 07:50:33 EST

On 08/10, Linus Torvalds wrote:
> So that should just be converted to assert_spin_is_locked().

I still think that lockdep_assert_held() is better. Unlike
assert_spin_locked() it checks that this lock is held by us, and this
is what we want in this case.

Plus it depends on CONFIG_LOCKDEP, this is probably good too.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at