> over head in doing user to kernel copy than just kernel to kernel copy
My understanding is that copyin is just bcopy with an on-fault handler
to handle any potential page faults rather than taking a kernel trap.
So, for a bulk data copy where all pages are present, it is
essentially bcopy.
Eric will have to verify this. I am not sure if there will any over head
in accessing the user address space as compared to kernel address space
and if there will be any more or less page faults.
It depends on whether the mappings are present. copyin() is essentially a
copy done from kernel in the context of the process address space.
- Eric
_______________________________________________
networking-discuss mailing list
[email protected]