> > Before I start changing code here and there, I'd like to know
> > whether there is function which copies (remaps) page from HIGHMEM into
> > memory addressable by PCI DMA? I did not find such, but maybe I just
>
> Don't bother. TV peaks at over 10Mbytes/second. You can't do it with copies
>
> > And should I implement another vmalloc(), which will not ask for
> > HIGHMEM pages and simply forget about DMA to userspace or try to remap
> > pages to low memory?
>
> IMHO it would be cleaner to make vmalloc take a memory type argument just
> like kmalloc does. Opinions ?
I was surprised to find that it didn't already take an extra argument, as
most *NIX systems require a boatload of arguments to specify how much
caffeine you want in your coffee, etc. when you allocate kernel memory. :)
-- Eric Lowe FibreChannel Software Engineer, Systran Corporation elowe@systran.com"You can't spell failure without U-R-A." -Dispair.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/