[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201003300846.59307.oliver@neukum.org>
Date: Tue, 30 Mar 2010 08:46:59 +0200
From: Oliver Neukum <oliver@...kum.org>
To: Jiri Kosina <jkosina@...e.cz>
Cc: Greg KH <greg@...ah.com>, USB list <linux-usb@...r.kernel.org>,
Mauro Carvalho Chehab <mchehab@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/5] usb:Push BKL on open down into the drivers
Am Montag, 29. März 2010 15:46:59 schrieb Jiri Kosina:
> > it seems to me you cannot deadlock with the BKL and an rwsem,
> > as BKL will be dropped if a task blocks on the rwsem.
>
> Ah, right you are.
>
> > This is not a nice feature of the BKL to use. Do you have an alternative
> > idea?
>
> Not right now, without introducing additional lock into USB core or
> redesigning the hiddev node registration completely. Hmmm ...
Then you might want to add a comment so the next developer who wants to
eradicate BKL is warned.
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists