Re: shared pagetable benchmarking
From: Ingo Molnar <hidden>
Date: 2002-12-28 07:39:12
On Fri, 27 Dec 2002, Andrew Morton wrote:
Yup. Ingo said at the time: It would be faster to iterate the pagecache mapping's radix tree and the pagetables at once, but it's also *much* more complex. I have tried to implement it and had to unroll the change - mixing radix tree walking and pagetable walking and getting all the VM details right is really complex - especially considering all the re-lookup race checks that have to occur upon IO. But find_get_pages() is well-suited to this, and was not in place when he did this work.
i agree that find_get_pages() would simplify this work. I did not consider group-lookup - i tried to implement an algorithm that had a single-page scope, to keep the amount of locked pages to the minimum. Ingo -- 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/