Re: [RFC 7/9] ppp: use big tty mutex

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Wednesday, March 31, 2010 - 12:39 am

On Wednesday 31 March 2010 06:37:12 Américo Wang wrote:

This is a blind conversion of the API from the common BKL functions to
the TTY lock functions. There is no cycle_tty_lock(), so I'm manually
doing the cycle.

The reason why cycle_kernel_lock() was introduced in the first place
is that some drivers may depend on the open() function not returning
while another CPU holds the BKL. I did not feel qualified (or motivated)
to determine if the ppp code has the behavior, so I left it at this.

	Arnd
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC 7/9] ppp: use big tty mutex, Arnd Bergmann, (Tue Mar 30, 1:56 pm)
Re: [RFC 7/9] ppp: use big tty mutex, =?UTF-8?Q?Am=C3=A9ri ..., (Tue Mar 30, 9:37 pm)
Re: [RFC 7/9] ppp: use big tty mutex, Arnd Bergmann, (Wed Mar 31, 12:39 am)