Thread (2 messages) 2 messages, 2 authors, 2001-08-19

Re: resend Re: [PATCH] final merging patch -- significant mozilla speedup.

From: Ben LaHaise <hidden>
Date: 2001-08-19 00:10:50

On Sun, 19 Aug 2001, Andrea Arcangeli wrote:
This below patch besides rewriting the vma lookup engine also covers the
cases addressed by your patch:
Your patch performs a few odd things like:

+       vma->vm_raend = 0;
+       vma->vm_pgoff += (start - vma->vm_start) >> PAGE_SHIFT;
        lock_vma_mappings(vma);
        spin_lock(&vma->vm_mm->page_table_lock);
-       vma->vm_pgoff += (start - vma->vm_start) >> PAGE_SHIFT;

which I would argue are incorrect.  Remember that page faults rely on
page_table_lock to protect against the case where the stack is grown and
vm_start is modified.  Aside from that, your patch is a sufficiently large
change so as to be material for 2.5.  Also, have you instrumented the rb
trees to see what kind of an effect it has on performance compared to the
avl tree?

		-ben

--
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