[Top] [All Lists]

Re: [BUG] drivers/video/sis: deadlock introduced by "fbdev: add mutex fo

To: Linus Torvalds <>
Subject: Re: [BUG] drivers/video/sis: deadlock introduced by "fbdev: add mutex for fb_mmap locking"
From: Krzysztof Helt <>
Date: Sun, 5 Jul 2009 17:05:47 +0200
Cc: Wu Zhangjin <>,,,, Krzysztof Helt <>, Peter Zijlstra <>, "Rafael J. Wysocki" <>, Andrew Morton <>, Ralf Baechle <>, 晏华 <>, zhangfx <>
In-reply-to: <alpine.LFD.2.01.0907050715490.3210@localhost.localdomain>
Original-recipient: rfc822;
References: <1246785112.14240.34.camel@falcon> <alpine.LFD.2.01.0907050715490.3210@localhost.localdomain>
On Sun, 5 Jul 2009 07:19:33 -0700 (PDT)
Linus Torvalds <> wrote:

> On Sun, 5 Jul 2009, Wu Zhangjin wrote:
> > 
> > then it works! so, I guess there is a deadlock introduced by the above
> > commit.
> Hmm. Perhaps more likely, the 'mm_lock' mutex hasn't even been initialized 
> yet.  We appear to have had that problem with matroxfb and sm501fb, and it 
> may be more common than that. See commit f50bf2b2.
> That said, I do agree that the mm_lock seems to be causing more problems 
> than it actually fixes, and maybe we should revert it. Krzysztof?

I vote for fixing these drivers after my change. I will send a patch for the 
sis driver soon. I am building new kernel now.


Rozwiaz krzyzowke i  wygraj nagrody! 
Sprawdz >> 

<Prev in Thread] Current Thread [Next in Thread>