Hi, On Tue, Oct 17, 2000 at 09:26:07PM -0700, Linus Torvalds wrote: > I hated people mis-using it the way it's being done by the sound drivers, > but because I also realize that it allows for some simplifications I do > accept it - it's basically an ugly hack that doesn't really matter because > the exact same code _is_ needed for the real IO mapping case anyway, and > as far as the kernel is concerned the whole thing with PG_reserved is all > just a game to make the kernel VM subsystem think that some real RAM is > actually IO space and shouldn't be touched. I've got kiobuf diffs which allow you to (a) map any kernel memory (including vmalloced areas) into a kiobuf, and then (b) mmap any kiobuf into user space using sane, faulting vmas (with the option of prefaulting for performance if you want it). Nobody is using it right now so I wasn't planning on resending it to you until 2.5, but if you want to give people a chance to start using it earlier I can send it in. --Stephen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: mapping user space buffer to kernel address space Andrea Arcangeli
- Re: mapping user space buffer to kernel address space David S. Miller
- Re: mapping user space buffer to kernel address space Andrea Arcangeli
- Re: mapping user space buffer to kernel address space Linus Torvalds
- Re: mapping user space buffer to kernel address space Andrea Arcangeli
- Re: mapping user space buffer to kernel address space Stephen Tweedie
- Re: mapping user space buffer to kernel address space Linus Torvalds
- nopage() vs remap_page_range Justin Schoeman
- Re: mapping user space buffer to kernel address space Andrea Arcangeli
- Re: mapping user space buffer to kernel address space Linus Torvalds
- Re: mapping user space buffer to kernel address space Stephen Tweedie
- Re: mapping user space buffer to kernel address space Gerd Knorr
- Re: mapping user space buffer to kernel address space Jeff Garzik
- Re: mapping user space buffer to kernel address space Andrea Arcangeli
- Re: mapping user space buffer to kernel address space Linus Torvalds
- Re: mapping user space buffer to kernel address space Jeff Garzik
- Re: mapping user space buffer to kernel address space Linus Torvalds
- Re: mapping user space buffer to kernel address space Jeff Garzik
- Re: mapping user space buffer to kernel address space Andrea Arcangeli
- Re: mapping user space buffer to kernel address space Linus Torvalds
- VM_RESERVED [was Re: mapping user space buffer to kernel ... Andrea Arcangeli