Thread (38 messages) 38 messages, 8 authors, 2002-05-08

Re: Why *not* rmap, anyway?

From: Daniel Phillips <hidden>
Date: 2002-05-07 23:02:02

On Tuesday 07 May 2002 21:50, William Lee Irwin III wrote:
On Tuesday 07 May 2002 21:25, William Lee Irwin III wrote:
quoted
quoted
Procedural interfaces to pagetable manipulations are largely what
the BSD pmap and SVR4 HAT layers consisted of, no?
On Tue, May 07, 2002 at 09:47:28PM +0200, Daniel Phillips wrote:
quoted
They factor the interface the wrong way for Linux.  You don't want
to have to search for each (pte *) starting from the top of the
structure.  We need to be able to do bulk processing.  The BSD
interface just doesn't accomodate this.
Generally the way to achieve this is by anticipating those bulk
operations and providing standardized methods for them. copy_page_range()
and zap_page_range() are already examples of this. For other cases,
it's perhaps a useful layer inversion.
What I'm really talking about is how you'd reimplement copy_page_range,
zap_page_range, and the other 4-5 primitives that use the 3 nested loops
style of traversing the i86-style page table structure.

-- 
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help