[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why *not* rmap, anyway?



On Wednesday 08 May 2002 09:59, Momchil Velikov wrote:
> >>>>> "Daniel" == Daniel Phillips <phillips@bonn-fries.net> writes:
> 
> Daniel> On Tuesday 07 May 2002 21:25, William Lee Irwin III wrote:
> >> Procedural interfaces to pagetable manipulations are largely what
> >> the BSD pmap and SVR4 HAT layers consisted of, no?
> 
> Daniel> They factor the interface the wrong way for Linux.  You don't want
> Daniel> to have to search for each (pte *) starting from the top of the
> Daniel> structure.  We need to be able to do bulk processing.  The BSD
> Daniel> interface just doesn't accomodate this.
> 
> FWIW, UVM has a mechanism to traverse all the mapped pages, as opposed
> to traversing all the addresses and checking of there is a page.

To make this concrete, what would copy_page_range look like, using this
mechanism?

-- 
Daniel
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/