Re: [PATCH] use spinlock instead of binary mutex in idt77252 driver

From: Christoph Hellwig
Date: Mon Apr 23 2007 - 04:18:24 EST


On Sun, Apr 22, 2007 at 07:50:36PM -0400, Kyle Moffett wrote:
> On Apr 22, 2007, at 17:39:59, Matthias Kaehlcke wrote:
> >use spinlock instead of binary mutex in idt77252 driver
>
> I think you really meant: "Use mutex instead of binary semaphore in
> idt77252 driver", since this is a binary semaphore (not a mutex,
> which are always binary):

And the binary semaphore terminology i a little confusing. struct
semaphore is a full counting semaphore that is only used as a binary
semaphore if we want to speak in CS terms. Than everyone else just
caled them semaphore before these patches started to show up :)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/