Re: Dereferencing semaphores and atomic_t's

From: David S. Miller (davem@redhat.com)
Date: Wed Oct 02 2002 - 05:32:59 EST


   From: Russell King <rmk@arm.linux.org.uk>
   Date: Wed, 2 Oct 2002 11:16:26 +0100

   Do we really allow this type of layering violation?
   
No, it should be killed :-)

   (There appear to be some circumstances when obtaining the semaphore count is
   useful, but shouldn't we provide an architecture helper function to do that
   since a semaphore structure _is_ an architecture-defined opaque structure.)
   
Feel free to make one.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:33 EST