On Tue, 17 Oct 2000, Andrea Arcangeli wrote:
>
> IMHO pinning the page in the pte is less expensive and less complex than making
> rawio and the VM aware of those issues. (remap_page_range is so clean
> implementation exactly because it pins the page into the pte)
You keep on bringing up remap_page_range(), and it does nothing of the
sort.
remap_page_range() does one thing, and one thing only: it populates the
page tables with physical page mappings.
It has nothing to do with pinning.
It so happens that the vmscan stuff won't ever remove a physical page
mapping, but that's simply because such a page CANNOT be swapped out. How
would you swap out the PCI space?
I don't see why you consider that to have anything to do with kiobuf's.
Linus
-
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 spac... Linus Torvalds
- Re: mapping user space buffer to kernel address spac... Andrea Arcangeli
- Re: mapping user space buffer to kernel address spac... Linus Torvalds
- Re: mapping user space buffer to kernel address spac... Stephen Tweedie
- Re: mapping user space buffer to kernel address spac... Andrea Arcangeli
- Re: mapping user space buffer to kernel address spac... Linus Torvalds
- Re: mapping user space buffer to kernel address spac... Andrea Arcangeli
- Re: mapping user space buffer to kernel address spac... David S. Miller
- Re: mapping user space buffer to kernel address spac... Andrea Arcangeli
- Re: mapping user space buffer to kernel address spac... Linus Torvalds
- Re: mapping user space buffer to kernel address spac... Andrea Arcangeli
- Re: mapping user space buffer to kernel address spac... Stephen Tweedie
- Re: mapping user space buffer to kernel address spac... Linus Torvalds
- nopage() vs remap_page_range Justin Schoeman
- Re: mapping user space buffer to kernel address spac... Andrea Arcangeli
- Re: mapping user space buffer to kernel address spac... Linus Torvalds
- Re: mapping user space buffer to kernel address spac... Stephen Tweedie
- Re: mapping user space buffer to kernel address spac... Gerd Knorr
- Re: mapping user space buffer to kernel address spac... Jeff Garzik
- Re: mapping user space buffer to kernel address spac... Andrea Arcangeli

