Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp48256rdh; Tue, 13 Feb 2024 09:02:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVWxJUmacLZJ2cuSOxeVVeHo0TQNN4hTKq05dasATFQ8rCuDqV8VULxHP14XsZLvK2/x1oSg6dhZ/jJiCd7MVMlB8jh1ojdQ4JchrN0rQ== X-Google-Smtp-Source: AGHT+IEHxSv+Ti6PkWjWsivGEM1R6/RbReryMamPF1NC2wdTGEn3IwIPUKWTzM+8D44TmLz4GFuI X-Received: by 2002:a81:520d:0:b0:602:ca0c:fea3 with SMTP id g13-20020a81520d000000b00602ca0cfea3mr9191900ywb.10.1707843729756; Tue, 13 Feb 2024 09:02:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707843729; cv=pass; d=google.com; s=arc-20160816; b=T4tK1dFif9HAyCv55FeZpV/mon/VBYg0l58+k/cmMvUE8FpW1HkcGRzEaZUQS//Fg7 qdJaN9AUMq7P6K1T4ncEGaJf8x4fZVyfxTCfQscNj0Jvnp0ZWxhIE3gNYtM4e4t4swf5 9C8YpuKQufsk6YobjJY85Csl1hTv5zPPuFnARdakIa2D0c401xMp3HknqDjLuM1YPJ5W sqx5hXnNb7km8kliNzfhFawB1y5lO+QFM35ipmGO4ESdHyM4WQ34IGz+IhON8MxnLtps BjGifWbnhRA2Djmnui2kTN/TLWMLkbZRz9zSXU4lk/b09YyVWRdN5zCDMVWUuuGNkC7I EARQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=kFEBmVzCDcc62ul2nmKiFx/x08WUXookmiLkT3RdZO0=; fh=rfFv7SLYMSO0CBXROYzPjf8WNj6jQXBg8GS60ZZ9yYU=; b=y59qkcahDwBLAqZTUJh6AJhMWUkdOl1ZGdwJs8xveF7knWpzrcOC497g9FqxYz/+AY 9a2sLMDU0zvzzlC8m+A96n4Fy+EsnkyNUmlsmIDZSNQxXBM+3yzJmlqzk1YmGYXWiHcq M9somYYvmRaZe5Vq3wXLCX1Ysa7KbcsbabcGg2Jbnt3gfxvkMCcVJWDpjTkLgXifOChW uPU2d6B5UFlbsXSdbGXjPv04BmBsddD2DhsTtcNiSO80imE48ivW7Jh5quPM0sxyZhij Q2gG4L+OWb9Rd26xupkgo3N82bys4VKjMhvIleeFudUrIeWaGgaY+LvMcQWU5pwkwvJB IPxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=zioZcQgq; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-63955-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63955-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com X-Forwarded-Encrypted: i=2; AJvYcCXXeBA2VCb7vzvMvwuhXCIMR3G7qBb4DaWFAR1wpCdNtzcodA2j+A6R/TzxGp+rMEDbdFevYDdp06UC7bLlLzpiq70LJ373+xVKVzlMkQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i186-20020a816dc3000000b00604b69017e0si322046ywc.129.2024.02.13.09.02.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 09:02:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63955-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=zioZcQgq; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-63955-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63955-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6AE301C222C3 for ; Tue, 13 Feb 2024 17:02:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B5455FBB3; Tue, 13 Feb 2024 17:02:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="zioZcQgq" Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 6B6015FB9D for ; Tue, 13 Feb 2024 17:02:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707843725; cv=none; b=lRAeyPJbBSPYcc+93mX82d8JH695QH8/ZoYQNMCWrZ4gaVnViaFwo3kqGh2tpxgPWpU4totMOQiqKWim7YwhEbde25pZ82H/YbcKqXLNLgKhzRVNl61GzY9amDnlNfldnbw0Q/afd2GkJe2Oqj9njMROmnm60d5BuwrlEJIWs5w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707843725; c=relaxed/simple; bh=kFEBmVzCDcc62ul2nmKiFx/x08WUXookmiLkT3RdZO0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HQrR6m/fU0TSrdjm/x8bUpG8YQdmC/JGbECwnxaMv3I4MFlrCrTrG6lh0sU6QJbTSxYe2xdasRYyhNZSGuwz9+5sDviN6cYLDMVfiUdhMh9rPJBL1l5cx4Em39+GxELgDmqIrlJ32ioy3L+Aijn34w8ziOQi7kUZpoaBCJ7gHQ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=zioZcQgq; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1db35934648so103845ad.1 for ; Tue, 13 Feb 2024 09:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707843722; x=1708448522; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kFEBmVzCDcc62ul2nmKiFx/x08WUXookmiLkT3RdZO0=; b=zioZcQgq7/WCb6Z/hQB31I/sflRJ/ulSI1vmWzT1VBEJF5MOUay+zZ7jQB8bJkjkMk p4IcdQE6x5dOZt9LbGEcGS1kK1Il2t0r5PWpxvLVX3pTKojOWfsIDetMNM6WvS+zB/sa /LFfXdkqqFmMtWN5v68nGMXP1RWapNMaVzefWWDeAa/S9585RbPc/W2NDqF8RuQUXiNY eOZMnqLgx0Fcex0VZAxZE9oc7lXh1wAE/PbwjEm8sc9EEZ31NrvjkaRMl8b2NRatJdUY /d025YhQ/oQp9HiMmDkGtbx9Dq4IdaeYhqmPsxW8yLLzWH2jrvD2/av52h+fn71wCOuj cq6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707843722; x=1708448522; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kFEBmVzCDcc62ul2nmKiFx/x08WUXookmiLkT3RdZO0=; b=RVnk71Zzet+/kluRes2FF9XStPRqyOYdp3QO6R6hdHxGcXmhRFzW0I5lc4eIgSpyB4 gFn2GE2O/VfSzVr/g8tMpXYDGOeF4LLTNe2omezlis7k7vlAcGO6jzyNo51M3536IHOC HQKrT/0zFuX9DMKnaPbPL0gE2lSwD7QjV2J9Rv2TbpA/VfA5mh8jMN2b6VFEvmQTfdIR q0rkGu/fqi4cti03HWA/IgEVTeLkwHnfKR9QrWHM2/ROIPVxxXQscuBb2+fQ34Az1Cvb eLHt21FXrkDbl3O/xMT8vz0H9RVhN66d8xGDNTvpv7ebGoxFkU+NKlo2NjvC9nlQ4jlq WbKA== X-Forwarded-Encrypted: i=1; AJvYcCWpM4BZCnuftq6Lp41Qudl3OSYpQzkhLOaIevGd5uI7N69Dwe5SnBZvaa/zoFox74zXOEu7y+VpExM53qwvOCIHo/lx+MlITSK35O++ X-Gm-Message-State: AOJu0YwSjheUBfKNJ1cvsKzrJvuvSw6L6vgfKMcQLI69LKDr3TL0pFnF hRjNJEj9625lS+ml4m+b8Da/MvdGgFH6Vzj6u6Z8I/moKRIdyEghUkenoEwu3gliB0+5FNt0fkn WK3TqWWGVhnkizzSzf3zgv6CBDSvO2tFnafdw X-Received: by 2002:a17:903:33c7:b0:1d8:d90d:c9ae with SMTP id kc7-20020a17090333c700b001d8d90dc9aemr20118plb.1.1707843722210; Tue, 13 Feb 2024 09:02:02 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240213081634.3652326-1-hannes@cmpxchg.org> In-Reply-To: <20240213081634.3652326-1-hannes@cmpxchg.org> From: Shakeel Butt Date: Tue, 13 Feb 2024 09:01:48 -0800 Message-ID: Subject: Re: [PATCH] mm: memcontrol: clarify swapaccount=0 deprecation warning To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , Roman Gushchin , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Jonas_Sch=C3=A4fer?= , Narcis Garcia , Yosry Ahmed Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 13, 2024 at 12:16=E2=80=AFAM Johannes Weiner wrote: > > The swapaccount deprecation warning is throwing false positives. Since > we deprecated the knob and defaulted to enabling, the only reports > we've been getting are from folks that set swapaccount=3D1. While this > is a nice affirmation that always-enabling was the right choice, we > certainly don't want to warn when users request the supported mode. > > Only warn when disabling is requested, and clarify the warning. > > Fixes: b25806dcd3d5 ("mm: memcontrol: deprecate swapaccounting=3D0 mode") > Cc: stable@vger.kernel.org > Reported-by: "Jonas Sch=C3=A4fer" > Reported-by: Narcis Garcia > Suggested-by: Yosry Ahmed > Signed-off-by: Johannes Weiner Acked-by: Shakeel Butt