From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 8641A3EA66; Sun, 5 Jul 2026 19:21:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783279299; cv=none; b=tnSxxsVNEiH6iXHvHQLolkRXgXusWiGGqIrJiSYzsCZxzuRq+Pa1OSNgOtRjaI803jYwcHzW5EaZkb1F9IKBAn/ljuyyqLXwjgAQ7ev+37W9e/Qa4UJEtLFo0yeOjZ7fEgdTEBuGWTXwLlSXfvm0Q+75jh5/2ihN25M74IUS5C4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783279299; c=relaxed/simple; bh=Kml7mHsYbdr3P0g5en8ZNYZH4PW8h0ezUF5Ver21dk0=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=L4KGKtRt9AxcLYPEZOsOKoAcGjDnWrKRROAn/W5M+V4d8BifTXrMQuq8RlZew88QSA0wZpaM0wL0NffZnngGiTMwzK5F8ifG4uUX86AkSysFFsdKpwJFEjPRjyJG+kP1jvm3JjCUgT+10b2rz7uZnqT+dK5raZ/unE2zpQxS+OE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=IlLB9aXa; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="IlLB9aXa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DAC41F000E9; Sun, 5 Jul 2026 19:21:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1783279298; bh=dA58sFWd3zYRKQmQfWY0b2tw8eB6raZO+QUDUb8S1aM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=IlLB9aXaB+hSdrkbY80lXftCXWZyiM8Ry4Yrllf8b0wCWHHGc66eum6PCQd8ZYFas R9jFwzOGfriy8BkzvNpVZoi/WlrwNqmma7EK1NmHD7RQekLw0TQmKJda2GY56Q8ABb CZrhY8S15nBugF9wZI1aPXITrRrRNTpRy8I0tYGU= Date: Sun, 5 Jul 2026 12:21:36 -0700 From: Andrew Morton To: Jianyue Wu Cc: Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Barry Song , Youngjun Park , Qi Zheng , Shakeel Butt , Axel Rasmussen , Yuanchu Xie , Wei Xu , Johannes Weiner , David Hildenbrand , Michal Hocko , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Hugh Dickins , Baolin Wang , Jonathan Corbet , Shuah Khan , Baoquan He , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Matthew Wilcox Subject: Re: [PATCH v7 0/3] mm: clean up folio LRU and swap declarations Message-Id: <20260705122136.0ad3b1f7132610134786afbf@linux-foundation.org> In-Reply-To: <20260705-ch-swap-series-plus-folio-lru-cleanup-v7-0-a028e8b5fc3d@gmail.com> References: <20260705-ch-swap-series-plus-folio-lru-cleanup-v7-0-a028e8b5fc3d@gmail.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 05 Jul 2026 22:12:30 +0800 Jianyue Wu wrote: > This series splits folio LRU and swap cleanup into three steps: > > - move the page-cluster sysctl next to swap readahead in mm/swap_state.c > - rename mm/swap.c to mm/folio.c after the swap-specific bits move out > - move MM-internal reclaim declarations out of include/linux/swap.h > > After this series, swap cache and swap-in readahead stay in mm/swap_state.c, > folio LRU helpers live in mm/folio.c, and MM-internal reclaim/workingset > declarations move from include/linux/swap.h to mm/internal.h (public LRU > helpers used outside mm/ remain in swap.h). Thanks, I've added this to mm.git's mm-new branch - in a few days I'll move it into mm-unstable for linux-next inclusion. After -rc4 (approx) I'll move it into mm.git's non-rebasing mm-stable branch for upstreaming during the 7.3-rc1 merge window.