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 DE4ED48F847 for ; Thu, 6 Aug 2026 20:06:58 +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=1786046824; cv=none; b=VrHEabr5NMqL3szMTRRgSRzdyLJKVlwce9cP62Fs49MC6O7ll7bZBIPZq/lrkWoFRkAtSI6q4KtiZx5scP6Xpsq0PgBTk4r4489N5ioDb90ya8Xt7n6oo4Ymtl0lXr/CkGGLtSefDcIBCkF5HyBfgA5VxVEqehEDFvEzkDE2rAY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786046824; c=relaxed/simple; bh=fNeH/smMipBtbNvpQOAjfsAUczZM3rGieY2wwpTthdw=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=NHhUNcuUTdj3gjpnoSZzuUJpYwsiYR7JuZefgOAzWBw8TGQxD4kzB8mqrRxzxKg5DF0zQoUUGpJNRFlRrjxHlXOq/f3u2M2PtOQUN/cEenvwatJZxxVgPhR0lP/wUij+PCPyRPbi0a7kXgJf6p3pK4VlNgSxzwzp0/fmObo6W+0= 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=hIjfUTpL; 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="hIjfUTpL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A96AE1F000E9; Thu, 6 Aug 2026 20:06:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1786046816; bh=kRcywGcXCD6d1cvCitg8GbORMo2qB7zJDpojkxSuIH8=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=hIjfUTpLf+KoJs7FTHc0BYi7/zXI3bqkA7ZyYDhzk0cglc5ZdNoz0YTQqpiALa564 wei1Unvcy9ce11r/URXCKizBor2+Y82Vzq2wBsexTal0uOZxdDrCigZycF+wYSfC12 so8MsskKhMemZUX6A0i+hRKe2h+BuG7B2ec1NiBQ= Date: Thu, 6 Aug 2026 13:06:55 -0700 From: Andrew Morton To: Youngjun Park Cc: Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Baoquan He , Barry Song , her0gyugyu@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/2] mm/swap: skip empty clusters in the swapoff scan Message-Id: <20260806130655.420e16bf621b580cc5f08040@linux-foundation.org> In-Reply-To: <20260806193228.458685-1-youngjun.park@lge.com> References: <20260806193228.458685-1-youngjun.park@lge.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@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 Fri, 7 Aug 2026 04:32:26 +0900 Youngjun Park wrote: > find_next_to_unuse() walks a swap device one offset at a time. Slot > state now lives in a per cluster swap table, so patch 2 dismisses an > empty cluster with one counter read instead of SWAPFILE_CLUSTER table > reads. Thanks. Can you help us understand how significant this change is for users? If "not very" then I'd prefer to defer consideraton of the series until after 7.3-rc1.