Re: [RFC][PATCH 1/3] radix priority search tree - objrmap complexityfix

From: Rajesh Venkatasubramanian
Date: Thu Mar 25 2004 - 23:08:30 EST

Hi Andrea,

I am yet to look at the new -aa you released. A small change is
required below. Currently, I cannot generate a patch. Sorry. Please
fix it by hand. Thanks.

> - list_for_each_entry(vma, list, shared) {
> + vma = __vma_prio_tree_first(root, &iter, h_pgoff, h_pgoff);

This should be:
vma = __vma_prio_tree_first(root, &iter, h_pgoff, ULONG_MAX);

> + while (vma) {
> unsigned long h_vm_pgoff;
> + vma = __vma_prio_tree_next(vma, root, &iter, h_pgoff, h_pgoff);
> }

and here it should be:
vma = __vma_prio_tree_next(vma, root, &iter,
h_pgoff, ULONG_MAX);


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at