Re: [PATCH -mm 1/7] mm: track free size between VMAs in VMA rbtree

From: Peter Zijlstra
Date: Thu Jun 21 2012 - 07:02:20 EST


On Mon, 2012-06-18 at 18:05 -0400, Rik van Riel wrote:
> +static void adjust_free_gap(struct vm_area_struct *vma)
> +{
> + rb_augment_erase_end(&vma->vm_rb, vma_rb_augment_cb, NULL);
> +}

This is a somewhat unorthodox usage of the rb_augment_erase_end()
function, at the very least that wants a comment.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/