Re: [PATCH, RFC 1/3] Add sem_getcount() to arches that lack it

From: Nathan Scott
Date: Fri Mar 11 2005 - 00:21:20 EST

On Thu, Mar 10, 2005 at 09:10:42PM -0800, Roland Dreier wrote:
> Andrew> (Why do they want to do this anyway?)
> Neither use seems really fundamental. The XFS use is explicitly
> inside #ifdef DEBUG and seems to be used only for assertions.

Right, our peeking at that value is debug-only (so usually its not
even compiled in). I wouldn't go out of your way to add a more
permanent interface just for this, we can live without it.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at