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 E9B45307ACE for ; Tue, 14 Oct 2025 03:12:38 +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=1760411562; cv=none; b=K7LOdhOfcXaob0Xe+4bsZiKUTE3lX8iUA0w0vH+iWqOyp0c+UAEC9W5PRuhA7S08s/z+HjsiofMtWuttjlXSKPmhRp43d0Nd1kai/l6x0Q6ByhadWj7nsxGAi3DGQ14t1S+bDg61sN9elahXETjknB/LbYE1+YSWh3vYHvcQxvM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760411562; c=relaxed/simple; bh=4pyR2bqlIYwuDmHZEIgkP+ruhjU+ZDXAIvPQnJmBz/U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hKCBMRe9G8L2gomzEvnjHZEEbB2gY2ZrRzGpHDHjqmn9wMVVBwMT9llskSduHHf4X5VlapIw8zWvCR7VbQl1V2PqaOFPpPktT15zNIej2yUmMN0cbk6Ki8eYcatd9Sw3+j+dhJ8J4Ym4ot+HpNXKoAf0dQVVTcF/GZdizZTxu4I= 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=qb4rHwcd; 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="qb4rHwcd" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1760411556; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=CBWGup56mF4O5M0pZnQX21SFhdfJU3QS5w5Qz5xEMdQ=; b=qb4rHwcd/xAj3P54CnldZQyjia4fxyrWziJXcnWbQJMwPF5G2HqhMVEAoT1p3Q7VjE5fsgWLSWCU+5CvV2J3JBxOvM5SeNCrQ0kebVY4bXGy2dHcqU8b7NSGTUYrv6TnuvwsZrqWX3hk1j8GGChFEZrad3LkSwvoW8gF+SbWz3U= Received: from 30.74.144.134(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0WqA2qf7_1760411555 cluster:ay36) by smtp.aliyun-inc.com; Tue, 14 Oct 2025 11:12:35 +0800 Message-ID: Date: Tue, 14 Oct 2025 11:12:35 +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 3/4] mm, swap: cleanup swap entry allocation parameter To: Kairui Song , linux-mm@kvack.org Cc: Andrew Morton , Kemeng Shi , Kairui Song , Nhat Pham , Baoquan He , Barry Song , Chris Li , David Hildenbrand , "Matthew Wilcox (Oracle)" , Ying Huang , linux-kernel@vger.kernel.org References: <20251007-swap-clean-after-swap-table-p1-v1-0-74860ef8ba74@tencent.com> <20251007-swap-clean-after-swap-table-p1-v1-3-74860ef8ba74@tencent.com> From: Baolin Wang In-Reply-To: <20251007-swap-clean-after-swap-table-p1-v1-3-74860ef8ba74@tencent.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2025/10/7 04:02, Kairui Song wrote: > From: Kairui Song > > We no longer need this GFP parameter after commit 8578e0c00dcf ("mm, swap: > use the swap table for the swap cache and switch API"). Before that > commit the GFP parameter is already almost identical for all callers, so > nothing changed by that commit. Swap table just moved the GFP to lower > layer and make it more defined and changes depend on atomic or sleep > allocation. > > Now this parameter is no longer used, just remove it. No behavior > change. > > Signed-off-by: Kairui Song > --- LGTM. Reviewed-by: Baolin Wang