Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2159885iof; Tue, 7 Jun 2022 21:45:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVyhxUAAR/s3l84ssStzLA1xNuTNm2j6glLaw09bVq4Gb+xytPCxPU2ZyyZVEjhc8+eDQF X-Received: by 2002:a63:797:0:b0:3fc:da19:45a7 with SMTP id 145-20020a630797000000b003fcda1945a7mr27352059pgh.326.1654663510704; Tue, 07 Jun 2022 21:45:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654663510; cv=none; d=google.com; s=arc-20160816; b=SCt1m34PkvXUKAEFH0NfbSRGB7pcHA6kd+KJC+s5iOYhnc5BON71+cTdb25Ct87RkZ 7an71/URj1BEk28kyQR4Wfr51wZgZuw34hxRM2D6dqOXNnDGoUMrr/32TcBhpiiUfIX0 SK/qDSC0ig7Zqf0JtFGmHajD/NGh2K/f95ZbkArCrLwTzNHCKv3dWKWXYkWSODACiHA+ nj0rJMkuda+gpHsd3/g/tQAHttd9nHYO0ECVXh2Am3vhNSKZx78z2IYS38lmX1l/5XSs s2cWHhW1sAyLywdl3IoGLyn4PM03KzbKWy281qCWdfs4X+t0F4eUU+DHOnbjA79ggNFy gXDA== 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=EB7GwryEyDPq35R/651FMtX/rDT7w7U5JPPzzXnqVmY=; b=QqXpJJ4+I7rymNxUMH0R7bxrz4Kt+Ga7EigxECMOF3FrThxz8Ux9F6E6GosBRHnoIW zK1i71Mgec4vBZCCpaTejzD9AAB4I4bVeaPS17E0bMrwdqvj9qsROBCvBG2siVbpVZ0y Cwk7rv1zAMlWVhkdy0LNoOlGg6vuk9DEHRcwG/JUj7m2nICxjRm6VMGWxZ1jJVnK0ON0 vfWElggTwMVVcbRbm/yt+f1WPf2z/rWNEi7ITobAy87dl2Cr9pgLwtWxYzDxNF6OlVGF modc+JzLp+LmbDRdYd3tGyLGqQOD2dmgFEHMwNhTDpLJnHzMsNSs07DXkdCOqh5+yPFT rl8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=H+sAN0OR; 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 d67-20020a636846000000b003fda8768897si11408852pgc.846.2022.06.07.21.45.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:45:10 -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=H+sAN0OR; 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 68DA326B96D; Tue, 7 Jun 2022 21:23:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242468AbiFGLDr (ORCPT + 99 others); Tue, 7 Jun 2022 07:03:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242857AbiFGLAy (ORCPT ); Tue, 7 Jun 2022 07:00:54 -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 121E411173 for ; Tue, 7 Jun 2022 04:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654599620; 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=EB7GwryEyDPq35R/651FMtX/rDT7w7U5JPPzzXnqVmY=; b=H+sAN0ORtBd6DjdlP2W6iZPKlpmVnrNlpTv4hbTjOg1rmneFKtlF34ojsK9pkBlhr8t1r9 QvZ9JFbdAe0dX+ESTnfrNH48MmMf+4HrnUKybv7NUfyzP339hczzQm3NkbiIjkhKmCH3mF 5FdC5uvm383WGmcCtcLTqLvbpMtuFl8= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-173-br1ElAR2O7-tNvwtj7Xspw-1; Tue, 07 Jun 2022 07:00:17 -0400 X-MC-Unique: br1ElAR2O7-tNvwtj7Xspw-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 8BA9A3C01D80; Tue, 7 Jun 2022 11:00:16 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-13-113.pek2.redhat.com [10.72.13.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id 435181121314; Tue, 7 Jun 2022 11:00:12 +0000 (UTC) From: Baoquan He To: akpm@linux-foundation.org, urezki@gmail.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, hch@infradead.org, Baoquan He Subject: [PATCH v2 3/4] mm/vmalloc: fix typo in local variable name Date: Tue, 7 Jun 2022 18:59:57 +0800 Message-Id: <20220607105958.382076-4-bhe@redhat.com> In-Reply-To: <20220607105958.382076-1-bhe@redhat.com> References: <20220607105958.382076-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 Reviewed-by: Uladzislau Rezki (Sony) --- mm/vmalloc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index b711bf82fd5d..b9bf7dfe71ec 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -1669,32 +1669,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