From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42301383C9B for ; Mon, 2 Mar 2026 07:34:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772436863; cv=none; b=K2n+F0+rpv4L+hPF1izKwqZTQ8AgWVtTWxkAefeDdhQ25qkT3ciye598+9UaKLo6VYrR6YsiiMPXt3rcCnLk09vOaCAWo0AY5Hr++6Gd8MDuQPckOJiwooOPr0eCmKqiGj1pYJafnGPUwTMyxPp2Q1t5sGMqOVu6xrwcpv9pHb4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772436863; c=relaxed/simple; bh=Rs1Kxaa6oaep877TzHfBTjIS6SBZVH8mnjjBKpd51cs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SLQssy0Tx/Q2Bhf1Fl1kFGotiSjlsT+Vvg5Ysk6TcKUtomoowLTshOtCJV5A2Y01pf81Sxd3puYGZRVPW8M8hD8Ni11d4f+zgCWfs3F9FOgtHUwnW+vW0Bklj9O2DUx5tCPJXmooa1qISabqKhBnSgiS7ydxQEUXyljucndPkVc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4F57914BF; Sun, 1 Mar 2026 23:34:13 -0800 (PST) Received: from [10.164.18.51] (unknown [10.164.18.51]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 10AD73F73B; Sun, 1 Mar 2026 23:34:16 -0800 (PST) Message-ID: <6222d20a-6474-4e43-a2af-f49adbd4f6e1@arm.com> Date: Mon, 2 Mar 2026 13:04:14 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V3 0/2] arm64/mm: Enable batched TLB flush in unmap_hotplug_range() To: linux-arm-kernel@lists.infradead.org Cc: david@kernel.org, mark.rutland@arm.com, Catalin Marinas , Will Deacon , Ryan Roberts , Yang Shi , Christoph Lameter , linux-kernel@vger.kernel.org References: <20260224062423.972404-1-anshuman.khandual@arm.com> Content-Language: en-US From: Anshuman Khandual In-Reply-To: <20260224062423.972404-1-anshuman.khandual@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 24/02/26 11:54 AM, Anshuman Khandual wrote: > This series enables batched TLB flush in unmap_hotplug_range() which avoids > individual page TLB flush for potential CONT blocks in linear mapping while > also improving performance due to range based TLB operation along with less > synchronization barrier instructions. > > It also now rejects memory removal that might split a leaf entry in kernel > mapping, which would have otherwise required re-structuring using the break > before make (BBM) semantics. But kernel cannot tolerate BBM, so remapping to > fine grained leaves would not be possible on systems without BBML2_NOABORT. > > This series applies on 7.0-rc1 and tested on KVM guest. > > Changes in V3: > > - Fixed some typos in the commit message for [PATCH 2/2] > - Dropped copying stable@vger.kernel.org per Ryan > > Changes in V2: > > https://lore.kernel.org/all/20260203130348.612150-1-anshuman.khandual@arm.com/ > > - Renamed split_kernel_leaf_boundary() as addr_splits_kernel_leaf() > - Dropped pte_valid()/pmd_leaf() before checking pte_cont()/pmd_cont() > - Changed and dropped variables in can_unmap_without_split() > - Moved can_unmap_without_split() after boot memory check > - Renamed 'prevent_bootmem' as 'prevent_memory' across the board > - Updated commit message in both patches > > Changes in V1: > > - https://lore.kernel.org/all/20260202042617.504183-1-anshuman.khandual@arm.com/ > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Ryan Roberts > Cc: Yang Shi > Cc: Christoph Lameter > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > > Anshuman Khandual (2): > arm64/mm: Enable batched TLB flush in unmap_hotplug_range() > arm64/mm: Reject memory removal that splits a kernel leaf mapping > > arch/arm64/mm/mmu.c | 236 ++++++++++++++++++++++++++++++++++++++++---- > 1 file changed, 216 insertions(+), 20 deletions(-) > Gentle ping. Any updates on this ?