lkml.org 
[lkml]   [2012]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tty: add lockdep annotations
> 'tty_mutex' protect every tty_kref_put(). So I think we have two
> options:
>
> - revert all the tty locking changes
>
> - make a new global lock that protects just driver->ops->lookup(),
> driver->ttys[idx], and driver->ops->remove()

I've been working on the latter as a later step already. It triggers a
whole set of other horrible problems about synchronization between
driver->ttys[] and driver->termios.

Can we just punt the tty localisation patches for a release (the last
console one before it is fine).

This isn't urgent stuff, its gradual cleaning the kernel up stuff and if
we keep it in -next for another cycle while fixing up these cases there
will be no hardware not supported, nobody unable to use their system, no
regressions. Better to get it right first because its ugly and
complicated as hell.

Alan


\
 
 \ /
  Last update: 2012-06-02 22:41    [W:0.107 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site