Is there any way to avoid copy between the kernel and userland



Hi
I am looking for any FreeBSD facility that will allow a userland process to
pass data to the kernel without doing a copyin or copyout e.g. using a
shared data structure (queue? ) for example? Any pointers will be useful
Thanks
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: How to pin a userland page in memory(avoid copyin and copyout)
    ... > I am trying to explore the option avoiding copyin and copyout when mode> switches from user to kernel and vice versa. ... Then just pass the addresses to the kernel and the> data will be used directly from the userland page. ... I was working on pipe implementation in BSD derivative of 4.10 branch and remember the same concept of pinning the user space buffer for bypassing kernel buffer. ...
    (freebsd-hackers)
  • Re: How to pin a userland page in memory(avoid copyin and copyout)
    ... Then just pass the addresses to the kernel and the ... The only way Im aware is to mmap() a file. ... > that happening on a given process due to the copyin and copyout. ...
    (freebsd-hackers)
  • How to pin a userland page in memory(avoid copyin and copyout)
    ... I am trying to explore the option avoiding copyin and copyout when mode ... Then just pass the addresses to the kernel and the ... want to understand how much performance gain one can gain if I am able to ...
    (freebsd-hackers)
  • 2.6.0-test9-mjb2: emulex driver link error
    ... : multiple definition of `copyout' ... ld: Warning: size of symbol `copyout' changed from 95 in ... : multiple definition of `copyin' ...
    (Linux-Kernel)
  • Re: CopyOut Size Limits
    ... I am transferring the data out of the kernel ... by using copyout. ... This seems to work for a small struct of data < 4k. ...
    (freebsd-hackers)