[lkml]   [2010]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 0/5] V2 usb console improvements series
On Tue, 16 Mar 2010, Jason Wessel wrote:

> Part of having the console stable requires that usb sysrq handler get
> executed in a tasklet. The hcd device lock is always held while the
> driver call backs are executed. The means you cannot get the sysrq
> printk's out to the usb console device after the in_flight urb queue
> is filled.

Either I don't understand this comment properly or else it is simply
wrong. HCDs do not continue to hold their locks when handing completed
URBs back to drivers. The giveback call occurs with interrupts
disabled, but no locks are held.

Does this mean one of the patches in your series can be simplified?

Alan Stern

 \ /
  Last update: 2010-03-17 15:33    [W:0.103 / U:3.996 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site