>Agreed... as an interface to userspace, get/set opt makes sense, but
>inside the kernel you just end up with a dispatch function that
>demultiplexes things to the real work.  So I think the real work
>functions should be the kernel API.

The dispatch function would still be there for userspace, but I'll export the
kernel functions.

What I'm more concerned with is whether it's acceptable to call copy_to_user /
copy_from_user on kernel memory?

- Sean
_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to