public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Lightweight userspace semphores
@ 2002-02-27  8:43 Martin Wirth
  2002-02-27 15:24 ` Hubertus Franke
  0 siblings, 1 reply; 8+ messages in thread
From: Martin Wirth @ 2002-02-27  8:43 UTC (permalink / raw)
  To: frankeh, linux-kernel

Hi Hubertus,

I just had a quick look on your semaphore code. As far as I can see you 
do no re-check of the userspace semaphore counter while going to sleep 
on your kernel semaphore. But this way you may loose synchronization 
between the kernel semaphore and the user-space semaphore counter if 
more than two processes are involved. Or did I miss some tricky form
of how you avoided this problem?

Martin Wirth


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-03-05  7:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-27  8:43 [PATCH] Lightweight userspace semphores Martin Wirth
2002-02-27 15:24 ` Hubertus Franke
2002-02-27 17:17   ` Martin Wirth
2002-02-27 19:04     ` Hubertus Franke
     [not found]       ` <3C7FDF76.9040903@dlr.de>
2002-03-02 14:08         ` [PATCH] Lightweight userspace semaphores Hubertus Franke
2002-03-03 22:13           ` [Lse-tech] " Paul Jackson
2002-03-04  6:13             ` Rusty Russell
2002-03-04 16:07             ` Hubertus Franke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox