lkml.org 
[lkml]   [2009]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PATCH] TTY patches for 2.6.33-git
On Sat, 12 Dec 2009, Linus Torvalds wrote:
> On Sat, 12 Dec 2009, Thomas Gleixner wrote:
> >
> > Just patched the following in and it catched your problem nicely. With
> > your AB/BA fix patch applied everything is fine.
>
> Actually, the patch I just suggested might be better. Admittedly the
> CONFIG_PREEMPT case is the more important one (and the one that will catch
> more cases), but even without preemptyion the might_sleep() in
> _lock_kernel() (one underscore) would trigger on the case of somebody
> doing lock_kernel with local interrupts disabled.

Fair enough.

tglx


\
 
 \ /
  Last update: 2009-12-13 02:51    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site