Messages in this thread | | | Date | Wed, 18 Oct 2000 15:02:56 +0200 | From | Andrea Arcangeli <> | Subject | Re: mapping user space buffer to kernel address space |
| |
On Tue, Oct 17, 2000 at 09:26:07PM -0700, Linus Torvalds wrote: > Maybe you mean PG_reserved?
Yes of course. (sorry for the typo)
> Quite frankly, the way I'd conceptually prefer people do these kinds of > DMA buffers etc is to just have a "nopage()" function, and let that > nopage() function just fill in the page from the DMA buffer directly. This > would work fine, and would get rid of all the playing with PG_reserved > etc.
And it would generate useless page faults as well. What's the point of unmapping a page that can't be freed? Once the page gets freed the mapping just gone away via munmap anyways. What's the point of introducing that performance hit?
Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |