Hello, Cort!

> Does it have to be a user mode piece of code?  You're going to have real
> trouble figuring that out if so.  Could you put that small portion of code
> into a kernel module and just load it from your user program to do what it
> needs to?

Well, this code needs to read some data continously. Then the data must
be processed and written to a file.

If you expect problems, I could create a new syscall and pass a buffer to
it. Probably this should be Ok. But the buffer can be huge (comparable
with the RAM size), so I would like to avoid copying data. This means that
the kernel needs to write to the userspace buffer directly.

Thank you for the reply.

Regards,
Pavel Roskin


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/



Reply via email to