[openib-general] [RFC] [PATCH 1/3] RDMA	CM:add	rdma_get/set_optioncalls to get/set path records
    Sean Hefty 
    sean.hefty at intel.com
       
    Tue May  2 21:27:55 PDT 2006
    
    
  
>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
    
    
More information about the general
mailing list