> But it doesn't solve mine. The point is that bttv must do the memory > allocation to make sure it can reach those pages with DMA. I know. I was wondering if there was a way I could somehow set the memory that you give me from the driver to be shared. We could do it one of two ways. I want bttv to do the memory allocation, somehow get an shmid from it. 1. So you get the memory however is necessary, then hand me back a shmid. This would require you to somehow set the memory in the driver to be shared. 2. I figure out (from userland) how to make a shmid refer to the memory that bttv gave me from the mmap. This is the way that Mark thought would be easier. Somehow, I would need a special version of shmget, perhaps called shmset where it takes a pointer to already allocated memory (in this case memory you gave me), does whatever it has to (locks it in physical memory, etc) and returns a shmid. I don't know how this would work with the kio bufs that you use or any of the implications at all, but it would solve both of our problems.