From patchwork Mon Apr 19 13:54:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Hildenbrand X-Patchwork-Id: 12211885 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=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 DAE7AC433ED for ; Mon, 19 Apr 2021 13:55:09 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5B3016127C for ; Mon, 19 Apr 2021 13:55:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B3016127C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B8C186B006E; Mon, 19 Apr 2021 09:55:08 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B65146B0070; Mon, 19 Apr 2021 09:55:08 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 966A86B0071; Mon, 19 Apr 2021 09:55:08 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0006.hostedemail.com [216.40.44.6]) by kanga.kvack.org (Postfix) with ESMTP id 7D9136B006E for ; Mon, 19 Apr 2021 09:55:08 -0400 (EDT) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 2D83282499A8 for ; Mon, 19 Apr 2021 13:55:08 +0000 (UTC) X-FDA: 78049263096.25.D489CC1 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by imf29.hostedemail.com (Postfix) with ESMTP id 8FFB9F8 for ; Mon, 19 Apr 2021 13:55:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618840502; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ocDukjE+ETfkil4lwgB/1NevCvBsNFpSh9oxdOLOnGs=; b=IEEgrz49aA4QH/wc5ghBJZsnu7c85pf7IkyfbkaZi+6rLM+ylJltoU2zhr0WBzV+3ZpzwS SWHP6LFoMDoGaJz6oDyNNxy4QqNxFZFaMDSvkwZWzex9q173Iwv8xq6yitPs9pY81lXvmO +IKDcwwUmi4LT7EK5AzBovcIhaIO2hY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-584-01XwmXn6NWGUoLbDX2M9NA-1; Mon, 19 Apr 2021 09:55:00 -0400 X-MC-Unique: 01XwmXn6NWGUoLbDX2M9NA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9AB53EC1A3; Mon, 19 Apr 2021 13:54:58 +0000 (UTC) Received: from t480s.redhat.com (ovpn-115-67.ams2.redhat.com [10.36.115.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 715D810429F0; Mon, 19 Apr 2021 13:54:56 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, David Hildenbrand , Andrew Morton , Michal Hocko , Oscar Salvador , Jason Gunthorpe , Peter Xu Subject: [PATCH v2 1/5] mm: make variable names for populate_vma_page_range() consistent Date: Mon, 19 Apr 2021 15:54:39 +0200 Message-Id: <20210419135443.12822-2-david@redhat.com> In-Reply-To: <20210419135443.12822-1-david@redhat.com> References: <20210419135443.12822-1-david@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 8FFB9F8 X-Stat-Signature: awkmsa7rj9kny1pqdcwiurcmpr3tk1je Received-SPF: none (redhat.com>: No applicable sender policy available) receiver=imf29; identity=mailfrom; envelope-from=""; helo=us-smtp-delivery-124.mimecast.com; client-ip=63.128.21.124 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1618840500-203262 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: Let's make the variable names in the function declaration match the variable names used in the definition. Cc: Andrew Morton Cc: Michal Hocko Cc: Oscar Salvador Cc: Jason Gunthorpe Cc: Peter Xu Signed-off-by: David Hildenbrand --- mm/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/internal.h b/mm/internal.h index cb3c5e0a7799..bbf1c1274983 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -354,7 +354,7 @@ void __vma_unlink_list(struct mm_struct *mm, struct vm_area_struct *vma); #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)