Re: Blocking in tty_operations?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 15, 2004 at 08:35:58PM +0200, Frank.A.Uepping wrote:
> Hello,
> may a tty driver (registered with tty_register_driver()) block (sleep) inside the
> tty_operations?

Some of them, yes, some no.

> From which context get the tty_operations called?

Many different contexts, depends on the function call.

See an old linux journal article for a description of some of the
different contexts that some of the functions are called in.  See the
linux-kernel archive for some recent changes to the tty layer to help
clear some of this mess up.

good luck,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux