[lkml]   [1999]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Address spaces on a i386 - Getting Confused
> I think unless you are willing to go into the hair the bttv driver
> does, you're going to need to have the device put it into a kernel
> buffer and then copy it into user space.

The bttv is hairy because it maps a lot of vmalloc space using scatter
gather DMA. If you need 32K for a 3D acceleration buffer then you can
handle it much more cleanly than the bttv driver. Take a look at the
sound drivers. They kmalloc a block of memory and mmap it into the user
space. Thats pretty clean


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:51    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean