lkml.org 
[lkml]   [2011]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectlocks inside receive_buf
From
Hi,

Does holding a lock make any sense inside the line discipline's
ops->receive_buf?
I see the locks being held and released - during some calls like
flush_to_ldisc, which end up calling receive_buf....


and yes, I would like to have a lock because, there are other
functions in my ldisc driver executed in process context ...
Is there some hints as to what should be the do's and don'ts inside
the ldisc ops functions ? (say tty_wakeup ...)

regards,
Pavan


\
 
 \ /
  Last update: 2011-03-30 14:23    [W:1.342 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site