On Thu, Dec 07, 2017 at 11:08:49AM +0100, Daniel Vetter wrote: > Since -rc1 we're hitting a bunch of lockdep splats using the new > cross-release stuff around the 2 kthread completions. In all cases > they are because totally independent uses of kthread are mixed up by > lockdep into the same locking class, creating artificial deadlocks. > > Fix this by converting kthread code in the same way as e.g. > alloc_workqueue already works: Use macros for the public api so we can > have a callsite specific lockdep key, then pass that through the > entire callchain. Due to the many entry points this is slightly > tedious. > > Cc: Tvrtko Ursulin <tvrtko.ursu...@intel.com> > Cc: Marta Lofstedt <marta.lofst...@intel.com> > Cc: Byungchul Park <byungchul.p...@lge.com> > Cc: Ingo Molnar <mi...@kernel.org> > Cc: Peter Zijlstra <pet...@infradead.org> > Cc: Tejun Heo <t...@kernel.org> > Cc: Kees Cook <keesc...@chromium.org> > Cc: Thomas Gleixner <t...@linutronix.de> > Cc: Shaohua Li <s...@fb.com> > Cc: Andrew Morton <a...@linux-foundation.org> > Cc: Jens Axboe <ax...@kernel.dk> > Cc: Daniel Vetter <daniel.vet...@ffwll.ch> > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Cc: Jonathan Corbet <cor...@lwn.net> > Cc: Oleg Nesterov <o...@redhat.com> > References: https://bugs.freedesktop.org/show_bug.cgi?id=103950 > Signed-off-by: Daniel Vetter <daniel.vet...@intel.com>
Acked-by: Peter Zijlstra (Intel) <pet...@infradead.org> _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel