"Miller, Brendan" wrote:

> Yeah, you're right.  What about copy_to_user/copy_from_user?  Are those
> SMP/UP dependent too?

STREAMS does not use these copy functions in drivers.  By the time the driver's
put procedure gets called the user data in in a STREAMS message and the message
is what gets passed to the driver.  That's why LiS does not have abstractions
for these routines.

There is a roundabout way for a driver to ask the stream head to do a
copyin/copyout but this involves message exchanges as well rather than the
driver calling these functions.

-- Dave


_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to