Subject: UVM / UBC API Need help...
To: None <tech-kern@netbsd.org>
From: Nalin Gupta <nalingupta2000@gmail.com>
List: tech-kern
Date: 04/02/2007 19:15:23
Hello,


I need to allocate buffers pool in kernel, which I can map or attach
to user space process virtual address.  I wish to achieve sort of
zero-copy and later if possible attach a chunk of it to mbuf or socket
buffer to send it across network. (developing sort of logging
mechanism)

I understand UVM / UBC related api may help me.

Am I right ?

Could someone provide me some skeleton code, on how to use those for
jump start ?

regards,
- nalin