Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp229928iof; Mon, 6 Jun 2022 02:10:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwIQm43OcbCVLo3y7A8y6ZHo+GWNthaNFgH1OfnUeAKqTrLR5T0glIoxrrF9sSzqiPyfte X-Received: by 2002:a17:90b:368b:b0:1e6:67a0:1c17 with SMTP id mj11-20020a17090b368b00b001e667a01c17mr27718362pjb.203.1654506615197; Mon, 06 Jun 2022 02:10:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654506615; cv=none; d=google.com; s=arc-20160816; b=qgf11r6uAEmGC5UBxt9E/+UD1Ic35Fae7tDbArA9AIcQpjsXgVXGsZm9XggtkZC+21 X81KWamgPcPHMn+p1zdteTmMCTFs8xVhYqnjgB9SQm40TCY8JIeymNG3dzZOuBgnra7H h/dHKvsUcqgQCcrQ+FhOvkyDZG1AJZYdjID4yah4KUbh9ExgTIgTdPbIKtlVUbVISSR/ 1tIRsGkhWSyVtfwkT55lfgqqX1QqrgA4pbClTqdtkgLQlchaQ9p7er05L8tB9FAuLnZ3 GRcyOi19RI8FDySX+LrFsWj0GpRPuc7kHkXmGoRHuFVJ+pYbCzyjW4FOJceSzEt6nC86 2X8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cIGHldPci9ICuMk9MFyx4EfHafP55UPltWCgM3kZNjQ=; b=e9FC+rKSi+Af1I5mJVULlX4fuBoBPivWIEqgLsdzwqYRnRSoN1Tg3yGy6rKJGm4LvL jVdpmF+jol+9ZbqqKNAwRokXaW1G6GQQd99UyIpbYS7+iTXz1HipRpBf/PxyitdVRusd yc0JorwiKSpSgY38aF0MA6C8uAWV9wDBbyy3CDaZNujGMJsqlfaYYBXh3q6mWvNJQz+C drmDqRGl3WvdMjSk9yM/VjhqlEBj2294S8/BcGd1zbj98mn2vS/TXVC9VogyIktfa8QG kapXeF3SZEh8SfUmA72pttdym34izayXWVKatKNdtIeM3F3L75VlmQtAP0d0AGtN6jEL vixA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W8UuNCPu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f194-20020a6238cb000000b0050d3e4009easi18375055pfa.125.2022.06.06.02.10.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 02:10:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W8UuNCPu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B14AA154597; Mon, 6 Jun 2022 01:43:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232676AbiFFIm7 (ORCPT + 99 others); Mon, 6 Jun 2022 04:42:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232426AbiFFIjv (ORCPT ); Mon, 6 Jun 2022 04:39:51 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 34A6E50463 for ; Mon, 6 Jun 2022 01:39:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654504781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cIGHldPci9ICuMk9MFyx4EfHafP55UPltWCgM3kZNjQ=; b=W8UuNCPupKGobPMxyk66yzYqSJ0DJO0iy7J9caLsHPd6iIVE+/5DAzcFzfYF+hS8kt23hm qpH+L8L5aIw46UIw27XQUCaQfNGQ3g+bJEBS/EKOPeiYqHoKYqEPH7Z6ASuBFpQrgPslB3 4HYgelY5xwoa9Lkq4XmO+Dh2h78Hkp0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-383-wnF2gOc8PN2sykLO-PlFuA-1; Mon, 06 Jun 2022 04:39:38 -0400 X-MC-Unique: wnF2gOc8PN2sykLO-PlFuA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BAEF3802812; Mon, 6 Jun 2022 08:39:37 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-14-4.pek2.redhat.com [10.72.14.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 74B131121314; Mon, 6 Jun 2022 08:39:34 +0000 (UTC) From: Baoquan He To: akpm@linux-foundation.org Cc: npiggin@gmail.com, urezki@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Baoquan He Subject: [PATCH 3/5] mm/vmalloc: fix typo in local variable name Date: Mon, 6 Jun 2022 16:39:07 +0800 Message-Id: <20220606083909.363350-4-bhe@redhat.com> In-Reply-To: <20220606083909.363350-1-bhe@redhat.com> References: <20220606083909.363350-1-bhe@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In __purge_vmap_area_lazy(), rename local_pure_list to local_purge_list. Signed-off-by: Baoquan He --- mm/vmalloc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index c7e1634ff2b9..11dfc897de40 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -1673,32 +1673,32 @@ static void purge_fragmented_blocks_allcpus(void); static bool __purge_vmap_area_lazy(unsigned long start, unsigned long end) { unsigned long resched_threshold; - struct list_head local_pure_list; + struct list_head local_purge_list; struct vmap_area *va, *n_va; lockdep_assert_held(&vmap_purge_lock); spin_lock(&purge_vmap_area_lock); purge_vmap_area_root = RB_ROOT; - list_replace_init(&purge_vmap_area_list, &local_pure_list); + list_replace_init(&purge_vmap_area_list, &local_purge_list); spin_unlock(&purge_vmap_area_lock); - if (unlikely(list_empty(&local_pure_list))) + if (unlikely(list_empty(&local_purge_list))) return false; start = min(start, - list_first_entry(&local_pure_list, + list_first_entry(&local_purge_list, struct vmap_area, list)->va_start); end = max(end, - list_last_entry(&local_pure_list, + list_last_entry(&local_purge_list, struct vmap_area, list)->va_end); flush_tlb_kernel_range(start, end); resched_threshold = lazy_max_pages() << 1; spin_lock(&free_vmap_area_lock); - list_for_each_entry_safe(va, n_va, &local_pure_list, list) { + list_for_each_entry_safe(va, n_va, &local_purge_list, list) { unsigned long nr = (va->va_end - va->va_start) >> PAGE_SHIFT; unsigned long orig_start = va->va_start; unsigned long orig_end = va->va_end; -- 2.34.1