From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.30 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796290088; b=TaTwWyHnBTrxoYMm1ZOe9kGpVtLCdYNGMv5USQlR24alV8FDCbrthTCB9YjsUinr43gE EKlbl7oJMln14HshQ/Yd5rjna/GSBVSRYz7VqebdyF4TK8OiTvjY7R4tat4lSHu1ewCfo KiHJmELc2DVXD/siNK75dHQPH9axxHNTs5Lz3csINpstq0ZRxuocxgEtBriqx5xr1kQ9U s4+rCK0oPLcJ7r0AXCUEIbcD/V3gGbzbf7mI3T8Sn03no8WLmVbc7ghxH3/g8gp0XRvFu gPOpvLTO69yzytUqmzCNlvs3Ndh+DEaJ4zFTYgyDtBouXewuHdx81D1nMHBgRWchswA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796290088; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:From:To:Cc:Subject:Date:Message-Id: X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=QBE9tVogzCHY6Gnkecz3fAM8G85tlH+gMP8PI0ZbTxI=; b=CX9+jhxEgNLke3hxmkn8dVFEQ0qY6XjEpN55Oyo9RAj213QSE+scg3pqBIpofuzGY24a 04JlImMVcUaypZQJNrsnMhnLnW7GAyYzDG4/t5SOPPjZT2tKNlNL+vRaDu3ugreUF89lr TBfFZEIkARp5tRTqfms26hgPfelkwar9kvTm5xwmU9Tg16CiuzF0s6jgnDgBQTIAqDJuK jfTPD89WEGq0Q0ffykVycPo0aPr5BUSh+Jon5p5IadEqUHknNWos4NgZKNwqqDrISxlCJ 8SwQS4Dgj8P1puUPJMn1WK2xx6aLgUT0DbZsgfBlF7t6vSpURb52RH3dLNjQyXMZC4g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=Yb+G7mY1; arc=none smtp.remote-ip=91.218.175.30 Received: from mta0.migadu.com (out-30.mta0.migadu.com [91.218.175.30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E94D0606A322 for ; Thu, 3 Dec 2026 09:28:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E94D0606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=Yb+G7mY1 X-Envelope-To: stable@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=xUnXIdFpVLe+8UNXXbmSiIFQ7IyBhOzyfrFH0dC+05c=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1796290085; v=1; x=1796894885; b=Yb+G7mY1iAerEVWTqnwxR9po0Q+0yt6k2MXGVLoEWpmL+EiVQxhph80f3cV5wUxFefkm8TeK SobSNnvVxYRSIc2x6HBV53xS43U3KaKZRbTs1I/N0LqGRb9F72CYPIlOtsRAi0czb+bBXIkAP0h 5e9PXHppuejIhiW0KxibzyBw= X-Envelope-To: stable@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 0fabaf45938aa5d0; Thu, 03 Dec 2026 09:28:04 +0000 X-Mizu-Trace-ID: 0fabaf45938aa5d0 X-Migadu-Flow: FLOW_OUT From: Hao Ge To: Suren Baghdasaryan , Uladzislau Rezki , Dev Jain , Andrew Morton , "David Hildenbrand (Arm)" , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , "Ritesh Harjani (IBM)" , Shrikanth Hegde , Alexander Potapenko , Marco Elver , Dmitry Vyukov , Dennis Zhou , Tejun Heo , Christoph Lameter Cc: linuxppc-dev@lists.ozlabs.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, Hao Ge , stable@vger.kernel.org Subject: [PATCH v6 03/10] mm/vmalloc: fix a typo in the __vunmap_range_noflush() comment Date: Thu, 3 Dec 2026 17:27:21 +0800 Message-Id: <20261203092728.157806-4-hao.ge@linux.dev> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20261203092728.157806-1-hao.ge@linux.dev> References: <20261203092728.157806-1-hao.ge@linux.dev> X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The comment asks the caller to call flush_cache_vmap() before calling this function. flush_cache_vunmap() is meant here, the old comment that commit 4ad0ae8c64ac ("mm/vmalloc: remove unmap_kernel_range") replaced said flush_cache_vunmap(), and Documentation/core-api/cachetlb.rst and vunmap_range() both use flush_cache_vunmap() before the page tables are torn down. Fixes: 4ad0ae8c64ac ("mm/vmalloc: remove unmap_kernel_range") Cc: stable@vger.kernel.org Signed-off-by: Hao Ge --- mm/vmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 1fe81a7e617b..1580b2c72727 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -506,7 +506,7 @@ static void vunmap_p4d_range(pgd_t *pgd, unsigned long addr, unsigned long end, * vunmap_range_noflush is similar to vunmap_range, but does not * flush caches or TLBs. * - * The caller is responsible for calling flush_cache_vmap() before calling + * The caller is responsible for calling flush_cache_vunmap() before calling * this function, and flush_tlb_kernel_range after it has returned * successfully (and before the addresses are expected to cause a page fault * or be re-mapped for something else, if TLB flushes are being delayed or -- 2.25.1