diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-12-05 22:37:03 +0100 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2019-01-07 03:24:43 +0100 |
commit | 02669b17a433c242a40f01f14b691c9c9d1f8a13 (patch) | |
tree | 8795a3a5f799d8a6482929bce982da7818d8e3c4 /sound/soc/soc-generic-dmaengine-pcm.c | |
parent | XArray tests: Add RCU locking (diff) | |
download | linux-02669b17a433c242a40f01f14b691c9c9d1f8a13.tar.xz linux-02669b17a433c242a40f01f14b691c9c9d1f8a13.zip |
XArray: Turn xa_init_flags into a static inline
A regular xa_init_flags() put all dynamically-initialised XArrays into
the same locking class. That leads to lockdep believing that taking
one XArray lock while holding another is a deadlock. It's possible to
work around some of these situations with separate locking classes for
irq/bh/regular XArrays, and SINGLE_DEPTH_NESTING, but that's ugly, and
it doesn't work for all situations (where we have completely unrelated
XArrays).
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'sound/soc/soc-generic-dmaengine-pcm.c')
0 files changed, 0 insertions, 0 deletions