[PATCH 1/6] mm: use vma_pages() to replace (vm_end - vm_start) >> PAGE_SHIFT

Michel Lespinasse walken at google.com
Thu Apr 18 00:58:48 PDT 2013


On Mon, Apr 15, 2013 at 5:48 AM, Libin <huawei.libin at huawei.com> wrote:
> (*->vm_end - *->vm_start) >> PAGE_SHIFT operation is implemented
> as a inline funcion vma_pages() in linux/mm.h, so using it.
>
> Signed-off-by: Libin <huawei.libin at huawei.com>

Looks good to me.

Reviewed-by: Michel Lespinasse <walken at google.com>

-- 
Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.


More information about the dri-devel mailing list