From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) (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 206537494 for ; Mon, 8 Sep 2025 03:04:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.118 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757300651; cv=none; b=gx5MIDfqaFtkplw+/0X7ITlq/01vcsvpHNCdGPzyDTdHZuYH4Vn4JvKneBlMCLgLJqnqO/aL4RKJhKh44FLLFblifFlFqaxc2tuM2r0k4DncCAph0zz4bUYd6gxEZfHMTS19IDmtYI3dML9m5+Tzx6umPbUvb93n3vlgGNm6M48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757300651; c=relaxed/simple; bh=cmG4H5bIIqmx2EXjALzztbF3bXbjq4/zgEFrqh3XTfk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qbY5e18zSppDiLT61cqAOCxIui/60H7Y7XQL5Ry6uHUgdIOTn9mL7Z7oRVl2bZDLxIEdv2LMjwnIabeG40yn+sZdNqxBffzRW5ePpp68pCJP+ycqmnlMHS+khACbbKVz8E9Qf6/ATsdn3772SxyRSyHwQiD1mG+7HGTvpoolC8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=e5GL2pol; arc=none smtp.client-ip=115.124.30.118 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="e5GL2pol" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1757300640; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=Ch8Enmtj/KH0mQ+evioqR/00NLP1dhKFZnhe/KioV9E=; b=e5GL2polxJlqd/Pa2Foc3PVe4NP0NUBGRd42VTIEdTqOJCWq/Q9lDCra30u0p+N5AP+0kLl//YvgHLXi87evP7SK/+wME3Fp5FaNpD8Grm7S45ZKh1PjhKxlih4bM8COj31CQUR5fEb2LudNPlx6l4C4wJEKqFiDHOa+izVik/I= Received: from 30.74.144.132(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0WnQXU.e_1757300637 cluster:ay36) by smtp.aliyun-inc.com; Mon, 08 Sep 2025 11:03:58 +0800 Message-ID: <91aa3a4f-5c20-4591-ae2f-bcd57c2533c2@linux.alibaba.com> Date: Mon, 8 Sep 2025 11:03:57 +0800 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 v2 06/15] mm, swap: rename and move some swap cluster definition and helpers To: Kairui Song , linux-mm@kvack.org Cc: Andrew Morton , Matthew Wilcox , Hugh Dickins , Chris Li , Barry Song , Baoquan He , Nhat Pham , Kemeng Shi , Ying Huang , Johannes Weiner , David Hildenbrand , Yosry Ahmed , Lorenzo Stoakes , Zi Yan , linux-kernel@vger.kernel.org References: <20250905191357.78298-1-ryncsn@gmail.com> <20250905191357.78298-7-ryncsn@gmail.com> From: Baolin Wang In-Reply-To: <20250905191357.78298-7-ryncsn@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2025/9/6 03:13, Kairui Song wrote: > From: Kairui Song > > No feature change, move cluster related definitions and helpers to > mm/swap.h, also tidy up and add a "swap_" prefix for cluster lock/unlock > helpers, so they can be used outside of swap files. And while at it, add > kerneldoc. > > Signed-off-by: Kairui Song > Acked-by: Chris Li > Reviewed-by: Barry Song > Acked-by: David Hildenbrand > --- LGTM. Reviewed-by: Baolin Wang