[lug] kernel to user space transactions

Archer Sully archer at meer.net
Mon May 14 11:17:32 MDT 2001


mohan kumar wrote:
> 
> --- Archer Sully <archer at meer.net> wrote:
> 
> > The accepted way to do this is to allocate a buffer
> > in the kernel and map it into user space.  While
> > you're
> > at it, treat the buffer as a ring buffer and all
> > will
> > be well.
> >
> 
> here, do u mean VM remaping or some thing else...(just
> to be sure:-))
> 

The usual way this is done is to implement the mmap system
call for your driver, which allocates the memory and maps
it into userland.  Is that what you mean by VM remaping?

-- archer



More information about the LUG mailing list