Subject: RE: sleeping on a userland address
To: 'Emmanuel Dreyfus' <>
From: Peter J. Hunter <>
List: tech-kern
Date: 05/22/2002 16:32:01
The sleep code won't care as it just treats the ident as a key to a hash
table, casting it as a u_long.  However, you'll lose the unique
qualities of the key by using user space addresses (which can be shared
between apps).  Therefore, you run the risk of being errantly woken up
and errantly waking up others.


-----Original Message-----
From: [] On
Behalf Of Emmanuel Dreyfus
Sent: Wednesday, May 22, 2002 3:29 PM
Subject: sleeping on a userland address


Is it safe to sleep on a userland address? It seems safe to me, but I'd
like to have a confirmation.

Emmanuel Dreyfus.
"Le 80x86 n'est pas si complexe - il n'a simplement pas de sens" (Mike
Johnson, responsable de la conception x86 chez AMD)