From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 853E82E1746 for ; Thu, 11 Jun 2026 03:00:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781146820; cv=none; b=L4A63w4QzA7NEK/qCV3sE11U2CYvwstXn8/0TvdnUoY+GhlUXz9jWTDkcRkyeJE++8V2XUWfCaJztzTR/DIfOfbTatnm2SFXAmBCWmjqhNKKIinIwVfGabGQdkXJjaa3mbu4siiC/DXbt/fHEsyJDTCh6oZuQlbayW2+lLAY7GU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781146820; c=relaxed/simple; bh=SWGNYjQODqu8XpW31ZnEPUflcrSiac43yf7Glaa9B0Y=; h=From:To:Cc:Subject:In-Reply-To:Date:Message-ID:References: MIME-version:Content-type; b=aKxwlZuiATX6jAju/0Gxn2lBjiklLJ0qEWuKWzJFLuMx5kDhSOTghxx6Ipa50MGJB+UR9v8VxK3YBJXd4lZDwh0xlyH4gRcV3UGJjXQ5xzPEwU4QFbfNd0LBF0I6mXU34Slj9ukzzTtDSxoX0m4/mBR/eF4Ia4xlB9nMPPRLvkY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KvoFnBtM; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KvoFnBtM" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-8422524cb38so2633036b3a.0 for ; Wed, 10 Jun 2026 20:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781146819; x=1781751619; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:message-id:date :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Pa2td8JJrEnqwMk5Z5fBZlq/pLvJPJzsyqnI7UNfNGs=; b=KvoFnBtMOWuAhjR2Bnh/hN/YPhNdcS4y7D6vz0rTrJx33iHxao34TnyTU4fSM92yxK 88tzYHeM+3kaudg6Hrh26pPvG34PQqAyerMs9iLfpZ9Kn+sRbcH1KFCTtwYzxSzy6Fwp QtV6/oKbq1y5Vgq5WrlPNe7QpOdS+/HTl95tHdg4/qnK16FeUtPb70PvqrI50KkS2NHD ffRxnmNMOCfouHv61R/EwDtwP6Nu+I072Har1fdSWx9HIpcaU0nzS9NkAW+Ff0oIHJhM 2IS3vStdvXeBRoEFJ2DEjiahLOyWTvIL1K5dtclirVLAJhwQYoqC38vBaKT6ZIp8f6Ss FJtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781146819; x=1781751619; h=content-transfer-encoding:mime-version:references:message-id:date :in-reply-to:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Pa2td8JJrEnqwMk5Z5fBZlq/pLvJPJzsyqnI7UNfNGs=; b=QHmT3ijBozJHufO1os/UmtbUsrkDBZBuYEwYjNcE/NrA0Xr07Z/rnJdkHxFyqCT5fr IRPoP+ERO1MXSKGCE1wKcvusUace6O4deVoQyF1jOddQMMpveAI5V+7ZHd2YNXbUIQrq H6cLmnF4IXZznx0VFGKiwSIN6MX2iQi5F/1kaJPHuOISY8xahvUn4mbZiJ6ezA14FrZR /LQeSgWkWzfGAnZRF7JxpiDtw0nj4gW8WDVHlEj8Ow0bhW7R8B6JXsxfDlmTrSTRHZB5 Q3jVt2LSpKXoyYemCus9kjGe2r5+6dGbP6iLH/Z53jQRi9ETbWDsHapg13jtvDkUBpSJ VjgA== X-Forwarded-Encrypted: i=1; AFNElJ+QjkbDHjy3mmv41uxYlMmr8HDiA2CgLQeejU8AIyvmqTwqzL9c8+lb7dR70lqSlColYwHWzZqsdwbq5vU=@vger.kernel.org X-Gm-Message-State: AOJu0YzCe+K5C06BFsCkb3iFx9nXsZGs/L+zhAYkXHhh6xTw7+Cip8K4 VmeRRGyUCaOX3oZ/+J7v7v7Et4jml+qmg9oLpXc/R1BiacIBuJX473Zp X-Gm-Gg: Acq92OF4+rVSta8hcVqd4SwDr14MdFfhKVkoB8zh0S5nfhkcbrPgjV7+zRLN7FnWBce En3c/8fEsxhdyGQGwSON78bXz2zPTT15wKY+O/P7HitpUeiKsjCqpntf05elkZVH9HqS2A46rH0 1U772a4I5CLMXu/hzAC7MsakWkYxgcGJTA1UboApSe+0gihWjSqWgdiaNHGXbAwSrkWry4dxgoC /nnvTLhtBgQqgvI2EaiBveZgF9RmwK0JyNFqJANtZ//pOS1tdjHNI1F1ZDMJ+3JgwLvceijJeW+ Ukad+Gi3uloJiIj1g3ACV7ZtW+u/yQ9npxuaisARgfUSq3vKLk2arJfsymZeWE3fj+xEskf8AZZ 4s1nosfJ1vh7p6IK/sSE5h7SGNshNDV4NCfIyCQddCzsjQY0CB+mTarvSUVMxoTPYXwmXxrWZFT pbo3klTPXg9fDKVBnwm2b73W1D3oqoRsXo X-Received: by 2002:a05:6a00:390b:b0:837:a211:4ee2 with SMTP id d2e1a72fcca58-84336df7ea7mr788008b3a.38.1781146818735; Wed, 10 Jun 2026 20:00:18 -0700 (PDT) Received: from pve-server ([49.205.216.49]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-843380c96a5sm247895b3a.38.2026.06.10.20.00.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 20:00:18 -0700 (PDT) From: Ritesh Harjani (IBM) To: Barry Song , Nhat Pham Cc: linux-mm@kvack.org, Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Andrew Morton , Chris Li , Kairui Song , Kemeng Shi , Baoquan He , Youngjun Park , David Hildenbrand , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Sayali Patil Subject: Re: [RFC 1/4] include/linux/swap.h: Remove unused leftovers In-Reply-To: Date: Thu, 11 Jun 2026 08:27:35 +0530 Message-ID: References: <68591daf0d679e5a0072d63751f187d14613e2b0.1781000840.git.ritesh.list@gmail.com> 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=utf-8 Content-Transfer-Encoding: 8bit Barry Song writes: > On Thu, Jun 11, 2026 at 12:41 AM Nhat Pham wrote: >> >> On Tue, Jun 9, 2026 at 6:20 AM Ritesh Harjani (IBM) >> wrote: >> > >> > This removed unused leftovers most of them are forward structure >> > declarations. Also removes SWAP_BATCH macro which isn't used any >> > where in the code. >> > >> > Found these during manual code review. >> > >> > Signed-off-by: Ritesh Harjani (IBM) >> > --- >> > include/linux/swap.h | 7 ------- >> > 1 file changed, 7 deletions(-) >> >> Seems like this can be submitted independently of this patch series right? > > +1 > > Applied the patch and built the kernel. It seems to work. > Feel free to add: > Reviewed-by: Barry Song Sure thanks Nhat & Barry. Yes, this patch can be picked up separately and it should not cause any conflict with the rest of the patch series either. Let me split it and will send this one out separately with Barry's RB tag. -ritesh