Re: current pointer question/suggestion

David S. Miller (davem@dm.cobaltmicro.com)
Wed, 15 Jul 1998 23:57:48 -0700


From: hpa@transmeta.com (H. Peter Anvin)
Date: 16 Jul 1998 06:45:22 GMT

NOW, what is dangerous with it is that you must NEVER dereference
pointers to automatic variables for another process... those
variables simply will not exist in your new process context...

Guess why other OS's don't implement wait-queues the way we do? ;-)
Our scheme depends upon being able to reference data residing within
the stack frame of any thread at any given time.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html