From mboxrd@z Thu Jan 1 00:00:00 1970 From: akpm@linux-foundation.org Subject: [merged] mm-use-vma_pages-helper.patch removed from -mm tree Date: Thu, 01 Feb 2018 11:31:26 -0800 Message-ID: <20180201193126.NHKCa_CK5%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:57624 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753012AbeBATb1 (ORCPT ); Thu, 1 Feb 2018 14:31:27 -0500 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: dbueso@suse.de, gomonovych@gmail.com, mm-commits@vger.kernel.org, mst@redhat.com The patch titled Subject: mm/interval_tree.c: use vma_pages() helper has been removed from the -mm tree. Its filename was mm-use-vma_pages-helper.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Vasyl Gomonovych Subject: mm/interval_tree.c: use vma_pages() helper 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 Link: http://lkml.kernel.org/r/1511364410-13499-1-git-send-email-gomonovych@gmail.com Signed-off-by: Vasyl Gomonovych Acked-by: Michael S. Tsirkin Acked-by: Davidlohr Bueso Signed-off-by: Andrew Morton --- mm/interval_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/interval_tree.c~mm-use-vma_pages-helper mm/interval_tree.c --- a/mm/interval_tree.c~mm-use-vma_pages-helper +++ a/mm/interval_tree.c @@ -18,7 +18,7 @@ static inline unsigned long vma_start_pg static inline unsigned long vma_last_pgoff(struct vm_area_struct *v) { - return v->vm_pgoff + ((v->vm_end - v->vm_start) >> PAGE_SHIFT) - 1; + return v->vm_pgoff + vma_pages(v) - 1; } INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb, _ Patches currently in -mm which might be from gomonovych@gmail.com are