Re: 5.6-rc7: Xorg hangs, too

From: Chris Wilson
Date: Thu Apr 02 2020 - 17:56:08 EST


Quoting Pavel Machek (2020-04-02 22:35:07)
> [258096.980089] 3 locks held by kswapd0/1034:
> [258096.980096] #0: ffffffff85851c80 (fs_reclaim){....}, at: __fs_reclaim_acquire+0x0/0x30
> [258096.980114] #1: ffffffff85850b40 (shrinker_rwsem){....}, at: shrink_slab.constprop.79+0x38/0x270
> [258096.980130] #2: ffff888197278b90 (&vm->mutex){....}, at: i915_vma_unbind+0x90/0xe0
> [258096.980177] 3 locks held by Xorg/3123:
> [258096.980183] #0: ffff8881972700c8 (&dev->struct_mutex){....}, at: i915_gem_do_execbuffer+0x690/0x1ef0
> [258096.980200] #1: ffff88819576e950 (&ctx->mutex){....}, at: eb_lookup_vmas+0x7d/0xd10
> [258096.980215] #2: ffff888197278b90 (&vm->mutex){....}, at: i915_vma_pin+0xb4/0x750

That's the pair that's causing the trouble.
-Chris