• Tejun Heo's avatar
    percpu-refcount: improve WARN messages · 4843c332
    Tejun Heo authored
    percpu_ref's WARN messages can be a lot more helpful by indicating
    who's the culprit.  Make them report the release function that the
    offending percpu-refcount is associated with.  This should make it a
    lot easier to track down the reported invalid refcnting operations.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Kent Overstreet <kmo@daterainc.com>
    4843c332
percpu-refcount.c 6.41 KB