Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp197432rbb; Fri, 23 Feb 2024 18:01:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUNHajue/b7Mf5209sk7lsiPW+8rGMRUfWQP17NvFysw6KCLWdc8s7ObBgC4AEMjbsXtnnT8mZj+FP28Dm3/3qGtezf3y/vqv5r+8cH5A== X-Google-Smtp-Source: AGHT+IEeeTNlSIyYw+n/qSNuVuNveYERfh38CodV1TYWoKrBu+rFRio8p7n8Jipy+C/d1BAjS4tV X-Received: by 2002:a17:902:e751:b0:1dc:693b:4083 with SMTP id p17-20020a170902e75100b001dc693b4083mr1708767plf.20.1708740082621; Fri, 23 Feb 2024 18:01:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708740082; cv=pass; d=google.com; s=arc-20160816; b=gieNG1+Xs5W7GqwIQmbeSFeaJ+N8noZ3hPVCd/2OOV1k2NCsmRvf/T8cEtGrBw2ulb m1lFHy/2GaWCP+EuTOSidOt5ABia93dswO3qGsE4FdpEIVO6tTg1DM14zxUIFB73Ii6W 1T1Wk6l1cccwferZvtFU43A2OvmSOD/FhG26GCZXBBKACXGd0NeFQWG1/f0Umie6/Y/u UOFcZoRqZeXP71UY6m4VcH7ya04bMhHUwkJr+JLmOV6wGU+EnzcVwCi6tZSjDrDROaJw Ytm93/VM3hhrCjAZnFSbLH94fNpwrGs2Ultj/PLN1sd04C0cc5rLqKzkmgrXd5dLWCNX rYBw== 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=T+a2SRS9CYU21NdR/LXMyfpfOaFxGBggdHbbvAXJGNw=; fh=xQjcwtkbzpSYNu4VzRaZYshVjSRItQ2atXgd+vLaNjI=; b=i9t6Y6osAeOS19hj3s1qe08U5MAtLOhXgvsi2TZvdKCf9WZEvMAvAEIUGTn0065dkN ndfy1lEZ8fi3vhotZa2THYdtpexKfMlKWYDS0gRgQCcNF2u+kxFfbaLGWsnVeLlmbeyZ OOjRwY6V/8gvLPS9uuROFZPsfEQicb9TLRI/M/CmAwEYvJEEnG0GOMcJvL/kQykrZMf+ MNKudTUgEJ9kktrOgEcNIjRosyAyH0X18YwsEwPr7tqoIOVN8bDpPqMvADYulX4hskgu LD0xnf3hOEQdA7dIJCWiWl2Le82TEyQBVP4xgddwGM55OnxWjihlEsVpvimxdvvw6snr YvuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=zntyXLY0; 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-79431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l8-20020a170903120800b001dc730e11bcsi117006plh.489.2024.02.23.18.01.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 18:01:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=zntyXLY0; 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-79431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79431-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8C3B6B23038 for ; Sat, 24 Feb 2024 01:59:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CEBBDDA2; Sat, 24 Feb 2024 01:59:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="zntyXLY0" Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) (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 A773ADDA5 for ; Sat, 24 Feb 2024 01:59:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708739982; cv=none; b=jiSis0Is0kbww2klns01ts7GIyw9C8MLQf+5/rVgGYlMN+lkBPPojX3WP0lV+huF8Q2OMAT1ZAohMLwVXTz5q5yC78fusfOa/l63ejMX2b8pGn0b0pjEs7CYiqIhehDDtKU7/GtvjY3EfQ6gTRpnjGFLIwcYITBeN4BEFPgG6zQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708739982; c=relaxed/simple; bh=T+a2SRS9CYU21NdR/LXMyfpfOaFxGBggdHbbvAXJGNw=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=cqaZ52BV4sBSXRt4S4XPObhZv3hggS82LB6faSQ5urPudKNeB78xXjbIhpjfGb7VmR/lizdwnZ9Kl4ePg3UHQwuwwo4OivsjllhliGkLkui/MrP7LmNYfbOS+Mj7Uev+yn209/CiZTgRy3/ot6L4jwC1BH6NyB5nMDVTRWwU4+A= 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=zntyXLY0; arc=none smtp.client-ip=209.85.219.171 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-yb1-f171.google.com with SMTP id 3f1490d57ef6-dc6e080c1f0so1007422276.2 for ; Fri, 23 Feb 2024 17:59:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1708739979; x=1709344779; 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=T+a2SRS9CYU21NdR/LXMyfpfOaFxGBggdHbbvAXJGNw=; b=zntyXLY0prDLuWUAhvw7ixaIAkbzjzN//FBBd3O1inJndHdJNJMleIJeV7pmILIE3j H1sZwAVtjmK4UL17vQLGrErXQgtH9PEo56eebJxhiRdq5oKHMvaMmWnyndxXsxaPDXpP B0G+/TPLtQdYA+tqWpY1HLN0IUBPlHROJ6oEHXFr4bBEs5NbLPiYkVxGTthTCwdI89AD BsSQ+baqISaQvSdgEpLz+sjf7DYzOqk9VgIBOYVwAc0IiEDMsCy1yTyDzz4GGOko2bpL LXdoK1umc4qmBuz/eYU/H3495v3656CSywMDPyRHm/YcM7FljiuX4s/TNoB7YqCFRu8+ lwmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708739979; x=1709344779; 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=T+a2SRS9CYU21NdR/LXMyfpfOaFxGBggdHbbvAXJGNw=; b=rTPpCAS0XC2jXbnErotUkbEP4m59tf3XjzBfGLr2M3WtgOFj82Bv0JGOU88JDKeXG3 aquoZU6OVs4if8Thsa6utlAUaGlBvRaZ5h3nW8d03/s9kz6IZ1xNkLMuOL4bW4FKuYeO 3KzrKQX2jEol/NpsRdFy5xJcT7hzJx8/v8jvOyDLJEs81UroEUEJUDgVvuC6+UVvQ4D0 xfGFVJij4mXIphF/o/3/Pk7pB4qbpJgWNcGPMJKnA5i9JmUW//PiUL/FfkJRRkY5b5Wh dj7Ng516O5NI6il9bNfncQwnDRajdGYHsGDv/UMw9T2E8kfOtne+4tZoJ5D9+l+LEzHr GArg== X-Forwarded-Encrypted: i=1; AJvYcCXGssQX/kzivWt73Rjm/ul7jT1ezK9rdLmTJpIGMgvrlyqU9k0NTUNGw3z20nkXX/n9gjB7v4UX2Th8GH4K69aR7uGCBtru4Jo/JuZt X-Gm-Message-State: AOJu0YyRmNKzasuU0zqHwIzo9pFhR0VtonqZrVV4/KFyTv93KLC5IxbL MWfvfCTI70o5YFGc6P8ZTuVDN9VQvCzTC01DLf2iM2yawTxl0RymOtRW3OJaJDdmSWe66ucsgG2 KNxncfaLUpGBLqz5EQZNNfkSVfbJT86u95nfk X-Received: by 2002:a25:aa67:0:b0:dcc:b69c:12e1 with SMTP id s94-20020a25aa67000000b00dccb69c12e1mr1515692ybi.59.1708739979162; Fri, 23 Feb 2024 17:59:39 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240221194052.927623-1-surenb@google.com> <20240221194052.927623-7-surenb@google.com> <20240222132410.6e1a2599@meshulam.tesarici.cz> In-Reply-To: From: Suren Baghdasaryan Date: Fri, 23 Feb 2024 17:59:26 -0800 Message-ID: Subject: Re: [PATCH v4 06/36] mm: enumerate all gfp flags To: =?UTF-8?B?UGV0ciBUZXNhxZnDrWs=?= Cc: Michal Hocko , akpm@linux-foundation.org, kent.overstreet@linux.dev, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, penguin-kernel@i-love.sakura.ne.jp, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, vvvvvv@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Feb 23, 2024 at 11:26=E2=80=AFAM Suren Baghdasaryan wrote: > > On Thu, Feb 22, 2024 at 4:24=E2=80=AFAM 'Petr Tesa=C5=99=C3=ADk' via kern= el-team > wrote: > > > > On Thu, 22 Feb 2024 13:12:29 +0100 > > Michal Hocko wrote: > > > > > On Wed 21-02-24 11:40:19, Suren Baghdasaryan wrote: > > > > Introduce GFP bits enumeration to let compiler track the number of = used > > > > bits (which depends on the config options) instead of hardcoding th= em. > > > > That simplifies __GFP_BITS_SHIFT calculation. > > > > > > > > Suggested-by: Petr Tesa=C5=99=C3=ADk > > > > Signed-off-by: Suren Baghdasaryan > > > > Reviewed-by: Kees Cook > > > > > > I thought I have responded to this patch but obviously not the case. > > > I like this change. Makes sense even without the rest of the series. > > > Acked-by: Michal Hocko > > > > Thank you, Michal. I also hope it can be merged without waiting for the > > rest of the series. > > Thanks Michal! I can post it separately. With the Ack I don't think it > will delay the rest of the series. Stand-alone version is posted as v5 here: https://lore.kernel.org/all/20240224015800.2569851-1-surenb@google.com/ > Thanks, > Suren. > > > > > Petr T > > > > -- > > To unsubscribe from this group and stop receiving emails from it, send = an email to kernel-team+unsubscribe@android.com. > >