From patchwork Thu Jul 1 01:52:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12353253 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6671DC11F69 for ; Thu, 1 Jul 2021 01:52:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 13B9861241 for ; Thu, 1 Jul 2021 01:52:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 13B9861241 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 888908D0235; Wed, 30 Jun 2021 21:52:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 85F908D0202; Wed, 30 Jun 2021 21:52:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7274A8D0235; Wed, 30 Jun 2021 21:52:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0172.hostedemail.com [216.40.44.172]) by kanga.kvack.org (Postfix) with ESMTP id 52C298D0202 for ; Wed, 30 Jun 2021 21:52:26 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 2529724886 for ; Thu, 1 Jul 2021 01:52:26 +0000 (UTC) X-FDA: 78312344292.21.84E65B2 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf18.hostedemail.com (Postfix) with ESMTP id D3C3F4002087 for ; Thu, 1 Jul 2021 01:52:25 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 2B6C86105A; Thu, 1 Jul 2021 01:52:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1625104345; bh=srZOmjHweQG1tAHO8xMW9Tn8yCWrDqidrbxEW2al5Hc=; h=Date:From:To:Subject:In-Reply-To:From; b=YT05pTQyIPQC7TRfrkLLJjD9qn9ZLWo6UiG3fyDYgF0xCmltWBn5KilJW6P4RO2Y6 46tiX3DWUvmadt3EBQ3w81VuXvx971AnVHsRHQRjW0zX41g/TVFlJYhKLQULjmQHbk wmSTfduU6y7qXNvtVI3KgRABi0n4nb8FdkfuwOZE= Date: Wed, 30 Jun 2021 18:52:23 -0700 From: Andrew Morton To: aarcange@redhat.com, akpm@linux-foundation.org, arnd@arndb.de, chris@zankel.net, dave.hansen@intel.com, david@redhat.com, deller@gmx.de, eike-kernel@sf-tec.de, hughd@google.com, ink@jurassic.park.msu.ru, James.Bottomley@HansenPartnership.com, jannh@google.com, jcmvbkbc@gmail.com, jgg@ziepe.ca, kirill.shutemov@linux.intel.com, linux-mm@kvack.org, linuxram@us.ibm.com, mattst88@gmail.com, mhocko@suse.com, mike.kravetz@oracle.com, minchan@kernel.org, mm-commits@vger.kernel.org, mst@redhat.com, osalvador@suse.de, peterx@redhat.com, riel@surriel.com, rth@twiddle.net, shuah@kernel.org, torvalds@linux-foundation.org, tsbogend@alpha.franken.de, vbabka@suse.cz, willy@infradead.org Subject: [patch 098/192] mm: make variable names for populate_vma_page_range() consistent Message-ID: <20210701015223.QTgRbro8j%akpm@linux-foundation.org> In-Reply-To: <20210630184624.9ca1937310b0dd5ce66b30e7@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: D3C3F4002087 Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=YT05pTQy; spf=pass (imf18.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Stat-Signature: 3momx5xrzu54phhtr1edwuoge7e37hho X-HE-Tag: 1625104345-253398 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: David Hildenbrand Subject: mm: make variable names for populate_vma_page_range() consistent Patch series "mm/madvise: introduce MADV_POPULATE_(READ|WRITE) to prefault page tables", v2. Excessive details on MADV_POPULATE_(READ|WRITE) can be found in patch #2. This patch (of 5): Let's make the variable names in the function declaration match the variable names used in the definition. Link: https://lkml.kernel.org/r/20210419135443.12822-1-david@redhat.com Link: https://lkml.kernel.org/r/20210419135443.12822-2-david@redhat.com Signed-off-by: David Hildenbrand Reviewed-by: Oscar Salvador Cc: Michal Hocko Cc: Jason Gunthorpe Cc: Peter Xu Cc: Andrea Arcangeli Cc: Arnd Bergmann Cc: Chris Zankel Cc: Dave Hansen Cc: Helge Deller Cc: Hugh Dickins Cc: Ivan Kokshaysky Cc: "James E.J. Bottomley" Cc: Jann Horn Cc: Kirill A. Shutemov Cc: Matthew Wilcox (Oracle) Cc: Matt Turner Cc: Max Filippov Cc: Michael S. Tsirkin Cc: Mike Kravetz Cc: Minchan Kim Cc: Ram Pai Cc: Richard Henderson Cc: Rik van Riel Cc: Rolf Eike Beer Cc: Shuah Khan Cc: Thomas Bogendoerfer Cc: Vlastimil Babka Signed-off-by: Andrew Morton --- mm/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/internal.h~mm-make-variable-names-for-populate_vma_page_range-consistent +++ a/mm/internal.h @@ -344,7 +344,7 @@ void __vma_unlink_list(struct mm_struct #ifdef CONFIG_MMU extern long populate_vma_page_range(struct vm_area_struct *vma, - unsigned long start, unsigned long end, int *nonblocking); + unsigned long start, unsigned long end, int *locked); extern void munlock_vma_pages_range(struct vm_area_struct *vma, unsigned long start, unsigned long end); static inline void munlock_vma_pages_all(struct vm_area_struct *vma)