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

Re: spin_lock_irqsave or spin_lock in work queue handlers?



Hi!

Peter Teoh wrote:
I just found more information.   There is a whole movement of
converting semaphore to mutex in the kernel.   One active contributor
is "Daniel Walker", search for patch like "printer port driver:
semaphore to mutex" etc.
>
And the explanation (which is the only I can find, still cannot
explain very well the reason for the conversion IMHO) is contained in
Documentation/mutex-design.txt).   But this documentation also
mentioned a lot of the dos and dont' about mutex.....read it....very
informative.

O.K. I will read it and try to understand!


Thanks for the information and have a nice weekend :-)
Lukas

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ