Re: [PATCH] mm: Use vma_pages helper

From: Davidlohr Bueso
Date: Wed Nov 22 2017 - 11:47:00 EST


On Wed, 22 Nov 2017, Vasyl Gomonovych wrote:

Use vma_pages function on vma object instead of explicit computation.
mm/interval_tree.c:21:27-33: WARNING: Consider using vma_pages helper
Generated by: scripts/coccinelle/api/vma_pages.cocci

Signed-off-by: Vasyl Gomonovych <gomonovych@xxxxxxxxx>

Acked-by: Davidlohr Bueso <dbueso@xxxxxxx>

... but you missed akpm.