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 021D2249EB for ; Mon, 2 Feb 2026 04:26:24 +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=1770006387; cv=none; b=AVD8xGpPiedp0XWzasdIHHPx0/1ceYYk7S3Oww05wJORiOKC3vhZy/lT4E0+LPEnCO5CAwMs8oY8wgwNMd0B0g6jOUxx94bAXilPlGC1Ukxm5v/dl/gWQtrljpFDE3T74b3YhNm2DPg3SNpWHQF7yje7N3r7NysbDXJn2+fwHfk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770006387; c=relaxed/simple; bh=EfnKeOCHI8OF/ljWEX9+IkfGVbsZz+BME41srXO/9XY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=O7FMB/zc1/69wherYINFL89uou+suS1J7qMZIg6ncbC55Fwzt+eKH5P/WVVdLbigw9Xn5JRteYBqHHs2g7soK2G8JMx6BhQaa8Cot8HndARqzTjCHIAl+TesrZTPySO3e58lqFSu/60YJh+3N6r0sKdxbx1/GVKTAJWnkRt9xm8= 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 80A61339; Sun, 1 Feb 2026 20:26:17 -0800 (PST) Received: from ergosum.cambridge.arm.com (ergosum.cambridge.arm.com [10.1.196.45]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A06DE3F740; Sun, 1 Feb 2026 20:26:22 -0800 (PST) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org Cc: Anshuman Khandual , Catalin Marinas , Will Deacon , Ryan Roberts , Yang Shi , Christoph Lameter , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] arm64/mm: Enable batched TLB flush in unmap_hotplug_range() Date: Mon, 2 Feb 2026 04:26:15 +0000 Message-Id: <20260202042617.504183-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.30.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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) sematics. This series applies on 6.19-rc8 and tested on KVM guest. 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 | 207 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 193 insertions(+), 14 deletions(-) -- 2.30.2