Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2113194lqo; Sun, 19 May 2024 14:16:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUDGIo3A4AZpJe1Ovyogjr8eDnheRR8dlOGtng7AhfCWhT1qRzog0fEiJ8QwSH3SxyTqeTPsOERsh0VXSxZnkMiK2rN7H1Cl2CNB8H6ug== X-Google-Smtp-Source: AGHT+IE4utN3jAQiW4YMzXtCi+dk4dFMTx2D64uM6/IWioqLsV8hJ7yK7RgN+ygkR2uwq2KaYrPq X-Received: by 2002:a17:906:4714:b0:a59:b543:c9f9 with SMTP id a640c23a62f3a-a5a2d536d8cmr1845615966b.7.1716153408207; Sun, 19 May 2024 14:16:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716153408; cv=pass; d=google.com; s=arc-20160816; b=Ofyhkcr5h+IL38sDmp3DWeYhj7Hq5pRAfsjjodkXYW/vIcZFgIXXt5/cwEdprjwyDr 7c7+B/yvHvB77oZRThN5WHJ2uxSWb1banm1q2E5+utjWFmNLO9FRXAjXKm9Q9b7M/Gpj kDMHJKgx1p2vpocTre2qcA0I4dsAFL4AyPetLsL5SapW/2l6F+MNhzgcQENG4CNiSVRN /2L8VUZ4ctFjyZXVieMz51h4IMAa3w6FR/O9qOYlt+YA14YgZAtBpWuf7X9e74z6R4My pl/CXdBpJoXrfDIzN+fAFA1PV5VhhBrGNwowS9rnb5blQ32eBdKOzOkrZCIvsvWv+6By BQvA== 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=aepYcjZoe1VltFPIAkhmsPx3W+z0i3qcRSlTsZdDdn8=; fh=OOEvVZcJx3VJ059K9uZWkJ0lu2S0KMEmZFtWMsnXx9k=; b=N2WXNRaCmAM0G9C80mFKjhGq5h943KE76Cn9wjucQILm4i2ZKYVGNIhRdskjvhpQvV hO5wni5j0CZdm78jPYRBKz9biRNM79FuiKCxfJ8jfW3YdRe5FWQF4Ev/Ceh0SbrghgNK n1fdxpNd40X0UUq1APgjGmK2GjDUY/mS05E1h4Jh2B0ZsR6J1tq4NngwVMaAZ8OgiU0a nHccd8xtfIeMcuzl39tMbJQeSAZzdrEmKSDZ+XymTcWd1GlLoHUyL6Ufa+DjQz7ySd/X OrgQzJb/A4fx8BFnv6G5w8DqHFfJO4Q2t0dwSmQENdQCKgiaJ0mNqkkg1a4o7IhJ98su j+Tw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=MoZtzqpf; 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-183274-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183274-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17945f25si1202408466b.61.2024.05.19.14.16.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 14:16:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183274-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=MoZtzqpf; 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-183274-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183274-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 am.mirrors.kernel.org (Postfix) with ESMTPS id DF0C71F21075 for ; Sun, 19 May 2024 21:16:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA0AA71750; Sun, 19 May 2024 21:16:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="MoZtzqpf" Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) (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 949E515491 for ; Sun, 19 May 2024 21:16:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716153395; cv=none; b=MWVq/w+ULoAcS+0LON8TffYBeQ2jDAbsr/TpqbuQP1TcN0HG4Z8VXo3j5S0nivszXJPraC8kVyWCVz0CFOc7HiIyHPioAJSYw9xULPkg4JXFusoHZMwoOM9AcsMN7SosVZUkQYrHvpG8aWV498xRWnOJDW8Ozk/JAvuaV/rq3bk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716153395; c=relaxed/simple; bh=aepYcjZoe1VltFPIAkhmsPx3W+z0i3qcRSlTsZdDdn8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=H1WRdLiF8La0IwZbiK9E+Pe8Q+x1ZlRnce0sx+Wxlmj7u6XeIT3tAIk4s7/64/tU0jaRrBl4hjhA6Xj+Aikas3uK26Av7xwA1Ejj/CdeAeePnOPzXKyz8zztV97ofXPKRUeESNcGXV6u6wbv2bof5a35A90Tve7jNmGpBBYMAQc= 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=MoZtzqpf; arc=none smtp.client-ip=209.85.219.180 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-f180.google.com with SMTP id 3f1490d57ef6-de8b66d1726so1321326276.0 for ; Sun, 19 May 2024 14:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716153392; x=1716758192; 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=aepYcjZoe1VltFPIAkhmsPx3W+z0i3qcRSlTsZdDdn8=; b=MoZtzqpfixF+7cdaaXVyiaK7tJUR1oO/CzN4Vv1V4Gbr2/3g/s9akEo1Y/uXyh1/Ir 1PXijxtlI54UevJFw6jZy99ZevEPSMzMkXWEOpmWtfbhXSIfz1jYmipHZ07CdgYKEx+J non5EQ+Yla0qIabmfSML6LLa6ew8W3XL33F5X4atQvILoqfTEmYpYAHzxYFu8I3w4s0k O0pRiOf17gNKDhbdTBoOsJ+apjkxL/T+INGka1rWC17AWTzZ8WJXIAy1MVAq5CZsuezo gsm4RNIKMDp8djpN/kfrMVJW8Z24jPvqIjYeA4VD80ZA3VtydCit9SL9supAHn7yZtZ6 XmBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716153392; x=1716758192; 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=aepYcjZoe1VltFPIAkhmsPx3W+z0i3qcRSlTsZdDdn8=; b=hh6bksi91DuPSlMuY3ZlotWXqoka5EaKm7EM2nsjHCXrQ4osnqXAN5irN4OvJ0ZPYG 0O8qptjk5pKYVqQUY+Y95+hH+nolnY0I7m8lKbC4a6ZhDUwbYsNRs4fy80o9+s50lo0i r43639+2YO2lmQbdYiLPa89nkdJqDpmJU/K3yLgW0kKDxSLtaTJu0dXFosTHyXxm2i+u 7YVVU9t4RCVwRiO+wg9QbmdQXFqnn/inubLQ1G+dM+L1pYCLDauAQ1R/n1DXoef5Vn9k VTG9hnTaAi9O/S8WEwtCok54sn93G5R21PyF6u14bLbVxGZ7XTTN12pVlcWK18UgoYU9 I+Vg== X-Forwarded-Encrypted: i=1; AJvYcCWD/fRkD5hOeTLVbW5D4MhF/YahS7JaaXAPI0+Mrr/5FkFyjp1Qcv4HXn/q7/qiQsKnJXfFBFrqFbdBj692BJtEsqTVxCJ0xiMAdd8x X-Gm-Message-State: AOJu0YxWMQr8G0QZTmKudbjhgjOJy/4Aeg5Fyqag+c0rh1DJgZuAlHmV Y+94Q522Jc9q7crsEVzmx4Dac23XWIpacjOxdUmbUiK0J+fTcYI5YRfv6cT4NKVrGwojnM9GP8Z 1X5j+UO9a4ZTqXKDzCS8/h0LwdHJk3va7V0Ju X-Received: by 2002:a25:5103:0:b0:dd1:6cad:8fd3 with SMTP id 3f1490d57ef6-df49062935bmr3300167276.27.1716153392254; Sun, 19 May 2024 14:16:32 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240517192239.9285edd85f8ef893bb508a61@linux-foundation.org> <5qcafqbnrox7r5m4kghgykahtp2pusmhwfxqzrmhgvavxxsdux@ao2tce7nppey> In-Reply-To: <5qcafqbnrox7r5m4kghgykahtp2pusmhwfxqzrmhgvavxxsdux@ao2tce7nppey> From: Suren Baghdasaryan Date: Sun, 19 May 2024 14:16:21 -0700 Message-ID: Subject: Re: [GIT PULL] MM updates for 6.10-rc1 To: Kent Overstreet Cc: Linus Torvalds , Andrew Morton , linux-mm@kvack.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, May 19, 2024 at 11:02=E2=80=AFAM Kent Overstreet wrote: > > On Sun, May 19, 2024 at 09:48:49AM -0700, Linus Torvalds wrote: > > On Sun, 19 May 2024 at 08:32, Linus Torvalds > > wrote: > > > > > > I'm going to take this pull and fix up the cases I find, but I'm not > > > happy with this kind of trivial C preprocessor misuse. > > > > I did some other maco handling cleanup too and tried to regularize > > some of this all, and it seems to work for me. But somebody should > > double-check, and it's possible these patterns should all be > > regularized further with a few helper macros for the whole "add > > __GFP_ZERO to argument list" or similar. > > I just double checked slab.h, gfp.h and percpu.h, and scanned through > the diff vs. 6.9 for include/linux/ - looks like you got everything. Sorry about that. Yeah, I could not find any other place that was not fixed. Thanks for noticing and fixing them! > > I think we can slim down the API surface of slab.h some more too, we're > now exposing three different ways of saying "trace/track this allocation > here": _trace, _track_caller and _noprof vs. normal; I think after a > cycle we can see if the old variants are still needed or can be > consolidated somehow. >