compositing broken in -next (idr bug)

Tejun Heo tj at kernel.org
Tue Feb 12 13:58:06 PST 2013


Hello, Jiri.

On Tue, Feb 12, 2013 at 10:55:37PM +0100, Jiri Slaby wrote:
> this commit in -next causes my KDE to get stuck while starting. I see
> only the splash screen. If I disable effects by alt-shift-f12, it continues.
> 
> I bisected it to this commit:
> commit 430440fce7da4ad52c2af06a04a5132e5d19faaf
> Author: Tejun Heo <tj at kernel.org>
> Date:   Thu Feb 7 12:31:37 2013 +1100
> 
>     drm: convert to idr_alloc()
> 
> 
> More concretely to the change in drm_gem_flink_ioctl. If I revert solely
> that one, it works again. Maybe I'm blind, but I do not see why...
> 
> Well I see a bug in there, but that is not the root cause -- there is a
> missing call to idr_preload_end. Of course, that one only leaves
> preemption disabled forever.

Fix for this bug is already queued in -mm.

  http://article.gmane.org/gmane.linux.kernel/1439101/raw

But you're saying that adding the missing idr_preload_end() doesn't
make the problem go away, right?

Thanks.

-- 
tejun


More information about the dri-devel mailing list