Christoph Baumann wrote:
> is to do this in steps of PAGE_SIZE. What I'm looking for is a kernel routine
> to force the mapping of previous unmapped pages. Browsing through the source
> in mm/ I found make_pages_present(). Could this be the solution? I hadn't the
Have you already looked at mlock
Jeff Garzik wrote:
>
> On Tue, 20 Feb 2001, Norbert Roos wrote:
>
> > Jeff Garzik wrote:
> >
> > > > But the buffers are usually allocated with malloc() by any application
> > > > which wants to use my driver.. otherwise my driver would have to
Jeff Garzik wrote:
> > But the buffers are usually allocated with malloc() by any application
> > which wants to use my driver.. otherwise my driver would have to offer a
> > malloc-like function, but I can hardly force the application to use my
> > own malloc function.
>
> If you are writing th
> Allocate the buffers in the kernel and mmap() them into user space
But the buffers are usually allocated with malloc() by any application
which wants to use my driver.. otherwise my driver would have to offer a
malloc-like function, but I can hardly force the application to use my
own malloc f
Hello!
I think the following is general problem, but i haven't found any
information about that yet..
I'm currently writing a driver which wants to transfer data between main
memory and a PCI device. The data buffers are allocated by the program
which uses the driver and therefore lie in the us
5 matches
Mail list logo