Re: Problem with DMA buffer (in 2.2.15)

2001-02-22 Thread Christoph Baumann
On Thu, Feb 22, 2001 at 05:38:53PM +0100, Norbert Roos wrote: > 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(). Co

Re: Problem with DMA buffer (in 2.2.15)

2001-02-22 Thread Norbert Roos
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

Re: Problem with DMA buffer (in 2.2.15)

2001-02-22 Thread Christoph Baumann
I messed up my subscription to this list yesterday so any answer to my question didn't reach me (I looked through the archive up to 20:50 yesterday). Now as I read my question again I decided to add some more details. >But when reading the buffer isn't allocated This is of course rubbish. I meant

Problem with DMA buffer (in 2.2.15)

2001-02-21 Thread Christoph Baumann
Hello! I have the following problem. A user process wants to talk to a PCI board via DMA. The first step I did was to resolv the physical addresses of the data in user space. This works fine when writing to the device. But when reading the buffer isn't allocated and the physical addresses are res