From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (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 6401223D0 for ; Fri, 22 Dec 2023 04:38:20 +0000 (UTC) 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="SHe3X716" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1d3e4637853so93455ad.0 for ; Thu, 21 Dec 2023 20:38:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1703219900; x=1703824700; darn=vger.kernel.org; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=Ww/u4bAQ2Y0urQrjCtL64yN7zVP/okgR7qn5HpVAFSs=; b=SHe3X7168OnlyIrHuaeAWPWYx9D3cIP0cRQd98+PrBIIpSQL7mWZPGZBcr0gua4URV I7nqu4PlzfYYG/+o5EzquNDFcHdq3CUWBkqdvPO7BW2f3ZfEGnumF5KosCWcRJhXhS6p Tah85LUiQy7K9vuKPH9UOkUxgCyLnU7OMu7SzSfiH4qC4EK9/QEMWicgnK+VEFSxDhxX viuyYr+Ak1yQHS2yeE67/+z+rwKt8ne/DSx4DXkcdet7Jb62SgltAx0aK+ZFIh7cjoqw Zp9LJue9hBMDw+AmQncYjXpPx6orgSptGgPpGQvjjcN37Ty+ntEmQeFM5pH0ias0xKEU kqhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703219900; x=1703824700; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ww/u4bAQ2Y0urQrjCtL64yN7zVP/okgR7qn5HpVAFSs=; b=YPlt3RI2UK6cYGHr/iXKlaniLjtpKH266durJKtw2/apJtd47dhkWzsOZlfFNwikfZ 3ifEddHNReBiBCJmtRul+8l31+066JL9uWDlSmGDDq3QGdjY4gevjV271lMCSHtiY5v+ lUkkUf00ak+K62anzRgegf1oBTpIj1+61NSz7ooKU+X1bRD+gDnexgRPehEyhgB/tWZm /+vicmx0Bfc2xb1ObBqYRe/226D7fz50J+Jv5xOhOS9joQLr6u5Yq6TD/5EyaziYLW/6 P03/08JjiijHtoeUOZklk0lR7kron1rvgyn3h6XW4HAacTcsM8EsQGfQCPa+lw4+1lkc Elnw== X-Gm-Message-State: AOJu0YyOEzEiISCKqLssXLyWfvNSbP4qJBr1pNydbfs93iQe6ILivOYl BQPi9jEHgMqYCkfybKhQs7zH9IdQxt9x X-Google-Smtp-Source: AGHT+IHBjK0SqtOtb+hamlc4XkwVzg2/DpYv4vz/gouGDTKu655TryYuGDXIKkyuDfeNG5JgbcxVyQ== X-Received: by 2002:a17:903:41cd:b0:1d4:f4:bd18 with SMTP id u13-20020a17090341cd00b001d400f4bd18mr94730ple.20.1703219899500; Thu, 21 Dec 2023 20:38:19 -0800 (PST) Received: from [2620:0:1008:15:184:1476:510:6ea1] ([2620:0:1008:15:184:1476:510:6ea1]) by smtp.gmail.com with ESMTPSA id jw13-20020a056a00928d00b006d977f70cd5sm1772209pfb.23.2023.12.21.20.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 20:38:18 -0800 (PST) Date: Thu, 21 Dec 2023 20:38:18 -0800 (PST) From: David Rientjes To: Dan Schatzberg cc: Johannes Weiner , Roman Gushchin , Yosry Ahmed , Huan Yang , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-mm@kvack.org, Tejun Heo , Zefan Li , Jonathan Corbet , Michal Hocko , Shakeel Butt , Muchun Song , Andrew Morton , Kefeng Wang , SeongJae Park , "Vishal Moola (Oracle)" , Nhat Pham , Yue Zhao Subject: Re: [PATCH v5 1/2] mm: add defines for min/max swappiness In-Reply-To: <20231220152653.3273778-2-schatzberg.dan@gmail.com> Message-ID: References: <20231220152653.3273778-1-schatzberg.dan@gmail.com> <20231220152653.3273778-2-schatzberg.dan@gmail.com> Precedence: bulk X-Mailing-List: cgroups@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Wed, 20 Dec 2023, Dan Schatzberg wrote: > We use the constants 0 and 200 in a few places in the mm code when > referring to the min and max swappiness. This patch adds MIN_SWAPPINESS > and MAX_SWAPPINESS #defines to improve clarity. There are no functional > changes. > > Signed-off-by: Dan Schatzberg Acked-by: David Rientjes