Do not deprecate binary semaphore or do allow mutex in software interrupt contexts

Previous thread: [PATCH/RFC] doc: about email clients for Linux kernel patches by Randy Dunlap on Tuesday, September 11, 2007 - 1:16 pm. (29 messages)

Next thread: Re: [PATCH] dcache: trivial comment fix by Neil Brown on Tuesday, September 11, 2007 - 1:33 pm. (2 messages)
To: Peter Zijlstra <peterz@...>
Cc: <linux-kernel@...>, Alan Cox <alan@...>, arjan <arjan@...>
Date: Tuesday, September 11, 2007 - 1:29 pm

I saw an implementation where there were two atomic contexts, one to initiate reading and another to complete the reading.

You suggested that a user-space task read from the device.

Why?

Wissenswertes f

To: Matti Linnanvuori <mattilinnanvuori@...>
Cc: Peter Zijlstra <peterz@...>, <linux-kernel@...>, Alan Cox <alan@...>
Date: Tuesday, September 11, 2007 - 3:22 pm

On Tue, 11 Sep 2007 10:29:19 -0700 (PDT)

timers and sleeping locks really shouldn't be mixed.
It ends up in general as more complex, fragile and weird...

But feel free to prove us otherwise with real code...
-

Previous thread: [PATCH/RFC] doc: about email clients for Linux kernel patches by Randy Dunlap on Tuesday, September 11, 2007 - 1:16 pm. (29 messages)

Next thread: Re: [PATCH] dcache: trivial comment fix by Neil Brown on Tuesday, September 11, 2007 - 1:33 pm. (2 messages)