From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-177.mta1.migadu.com (out-177.mta1.migadu.com [95.215.58.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5439B2D8DCA for ; Fri, 3 Jul 2026 17:48:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783100923; cv=none; b=r7lFIjY4lP1SLJ45TbOg3x8DMIXANUTSGJzx6DpfOT+8Nah+Kc+P1A26a1FhfO9lmf876Lu2OCtBfk83CuXU6GBCRu6e7Q2sUkhw+wt69xeW+eIA2OHT5b+qQTSVdq92aVvv31zrthR0uTQ12MuYm23/q6hvOzQZIva3IW32Unw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783100923; c=relaxed/simple; bh=QTTw2q//a3I6UYtwzIIY5F8VMlJqRYaOu5G3z3f8ieM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=N5MyzhOPnCAAb6ZefRL4+0AmyqnuhSFokeyxBuIdQQOiz/BDfUXclQF0qjOvRjkuFNshKjBiMuIKN1uPd7ZAo7ybGRL9MZht0skm3beD/5yT87u/T+CbjOsUShA/xryqsfRKjCGD9d9K61JgRVhwdHpGNE1iz+S7Ihv4pCBDAz0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=KSn3XOkj; arc=none smtp.client-ip=95.215.58.177 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) header.d=linux.dev header.i=@linux.dev header.b="KSn3XOkj" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1783100919; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GGBqB1i2lcxh2kKfWJFTM0BG47cF97dz2YCl8fcmHhA=; b=KSn3XOkjMucwzDecl7TvcRBT8YSow4vMTBeBCySRuzCzQCzp7tHuTZ2QJjMFv/gmxapQGH spQwWO0+HKj7dS4T0tBQ2NGkVWSRLunZVotR+HvkHWzJzoEldfJh5fi6/38CgsrV9bx1yP vlRDLRa8Zxke8Y/10hD7Eyl/ChPjZEQ= From: Usama Arif To: Usama Arif Cc: Andrew Morton , david@kernel.org, chrisl@kernel.org, kasong@tencent.com, ljs@kernel.org, ziy@nvidia.com, linux-mm@kvack.org, ying.huang@linux.alibaba.com, Baoquan He , willy@infradead.org, youngjun.park@lge.com, hannes@cmpxchg.org, riel@surriel.com, shakeel.butt@linux.dev, alex@ghiti.fr, kas@kernel.org, baohua@kernel.org, dev.jain@arm.com, baolin.wang@linux.alibaba.com, npache@redhat.com, "Liam R . Howlett" , ryan.roberts@arm.com, Vlastimil Babka , lance.yang@linux.dev, linux-kernel@vger.kernel.org, nphamcs@gmail.com, shikemeng@huaweicloud.com, kernel-team@meta.com Subject: Re: [PATCH 0/6] mm: preparatory patches for PMD level swap entries Date: Fri, 3 Jul 2026 10:48:31 -0700 Message-ID: <20260703174832.55655-1-usama.arif@linux.dev> In-Reply-To: <20260630164143.1595669-1-usama.arif@linux.dev> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On Tue, 30 Jun 2026 09:34:37 -0700 Usama Arif wrote: > This is the preparatory part of the PMD page table swapin work. The > full PMD swap entry series has been split into two parts: > > 1. this preparatory series, which contains the first 6 patches. Zi [1] > and Lance [2] suggested to separate this out from the core series. > 2. the PMD swap entry core series, which depends on this one. I will > send this once the preparatory series is merged in mm-new as v3 > as the combined is currently at v2 [1]. > I have not marked this prep series as v3, as its not really adding > support for PMD swap entries. > > This series does not introduce PMD swap entries and does not install any > new page-table entry type. It only cleans up existing PMD softleaf > helpers and call sites so the follow-up PMD swap entry series can be > smaller and easier to review. > Hi Andrew, The series only needs 2 small changes: Removing a comment: https://lore.kernel.org/all/157838aa-1518-46b5-8734-feab2c42ee2a@kernel.org/ and s/CONFIG_ARCH_SUPPORTS_PMD/CONFIG_ARCH_HAS_PMD_SOFTLEAVES/ in the last patch: https://lore.kernel.org/all/e37df165-8de0-4924-ba19-0d43a6b7d36e@kernel.org/ I am always torn between sending a fixlet on the existing series or a new revision. Just wanted to check what is easiest for you and your preference in situations like above? Thanks! Usama