Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2055728lqo; Sun, 19 May 2024 11:02:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU22ynD44FQ3vVcY8R7Z2BaM9NbYG7qBMjMpqIEVNc5elom8NJkid+ZToDhqFJSFv72mqnLv6hlKw+gzMLVGyNmMKyyCRJwKJh7/jZxWw== X-Google-Smtp-Source: AGHT+IGq24FKfS9rKTnDH96inYY1oVQr1gw4ZypWKFcpxN+oD/A2ZxKNWt4r4rlMRgE7Y+fUJxDy X-Received: by 2002:a17:906:370f:b0:a59:a83b:d438 with SMTP id a640c23a62f3a-a5a2d5c89a3mr1681971866b.23.1716141776823; Sun, 19 May 2024 11:02:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716141776; cv=pass; d=google.com; s=arc-20160816; b=rXVERXYkznDocd8rJUNITI0uvss1OSoA3N70AwsKhBlVlBGcZrmnl4iDqicdeZB5Hs Fy94xEt7VJEva2iJheTR3CfLBcF3qOqbQkJ5wbERDLGjRmHeMQFYbBU2gZaHY5rXgIsd fJEF4UU0J9Nk0IPO9IyhGcaSWFzX9mKkEhTz5AFsoAFPgUYfR0atAz3DZyCICh9SCJuj hV5vxcHMNOb0Ew+dHEMApsC88oxzZbKGvr1YSbJVcW3B2SygHjH1gh2DbHyH2/hETY2S TvNBbW1A4dQGDrLwPCouoRg35U9d4Cnr4L53P995LbFH+VmC6M5fLYr4YTIzROUvn9hS harQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QxWT6yFeaOauY+SRIXUcV0VmlDaq8Ucmr4A+eczzPDg=; fh=AIHtKqiNDOZ3Te3b1UGLuPT/Zt/EVeVHGggqjUJMGB8=; b=gBzS+yaGxgJ1DIS7+lbyypZo1Nm5lIK9s2Bc/FjWNSEZt1sdZm98NTdnaBryIMt/zp qAt9ATSF6KGCxBhxqTCPwLOqlDdM3z7lsRuXXVxCkgOMrbXZejYcO6GZ/Z5b4lgDwfrd uMrxx3EKxNqoZdGoHsJPbXda/i3iS+f+p78RGsiG6LgrWIrG+gVFa66sbbrxW1wLZGuN YKJhQn+UoNxlHZ+GP/Rfg6bu3sqFBmxsUwxEihDyMlKnDUULO3Ss3Iocb7YYltsBzDv/ 7L4EdimwvHy4LmVvRMk4caYsQpIJzNkS43hIKee1+zGwLcsscfFemkfdzQ/bYye44sg3 WwlQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=bSKda03q; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-183189-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183189-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5ce37f50e7si456481466b.94.2024.05.19.11.02.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:02:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183189-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=bSKda03q; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-183189-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183189-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 8544D1F218DA for ; Sun, 19 May 2024 18:02:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A1C2502B6; Sun, 19 May 2024 18:02:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="bSKda03q" Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [91.218.175.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85C461F5FD for ; Sun, 19 May 2024 18:02:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716141768; cv=none; b=QK4RylgM9g1xvmYEM5lRPZFBFJqPEmWNyp36Xk8PnMdt0enijaHv3SBew54flTxJf2YcCsdVrR49IToGG0FZltH++4pWfKShbvQdud1DaImhYvtqt39z4RI903qI8WGX3Mbe8GiGPuC+Z+Lll21BmjyD3SZHN84pBeJTDk2AXho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716141768; c=relaxed/simple; bh=kEhtOaLdgy5lPNGHbBfdDuHmO9QXnSuQyV86uRAAzR8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SQUweyboiaqbSRwBFg0/Cqpur3SCE8sxQDbXvJ9Dp+/KFWhVjoCPqAcXCzX0y1GOmm+/8Hz/txDxjU0rPT8JZQntMaDAxj3jjJyyOR1i7afU4xH8ODwm49NRTdLUmctsdY6FsE32W4wTUYMTGXmkLugbmsxwLWWqkO5MwQKab5E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=bSKda03q; arc=none smtp.client-ip=91.218.175.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: torvalds@linuxfoundation.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1716141764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QxWT6yFeaOauY+SRIXUcV0VmlDaq8Ucmr4A+eczzPDg=; b=bSKda03qak4LPyrSaarBvNgu2qR0QRx7q9MRbSwN1KXH34CJsWxmxrsM5RozDdhMWkehGl XHkq7D91uA9QZMvOdEmokZbyZg/noDv1jvmKlVvE4UWW5XQy5Y8OJ0IaTrJuGiSteBhTGP 6g+X6WWkr9DcLPVc7pyPSJMYpViBMeE= X-Envelope-To: akpm@linux-foundation.org X-Envelope-To: linux-mm@kvack.org X-Envelope-To: mm-commits@vger.kernel.org X-Envelope-To: linux-kernel@vger.kernel.org Date: Sun, 19 May 2024 14:02:41 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Linus Torvalds Cc: Andrew Morton , linux-mm@kvack.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] MM updates for 6.10-rc1 Message-ID: <5qcafqbnrox7r5m4kghgykahtp2pusmhwfxqzrmhgvavxxsdux@ao2tce7nppey> References: <20240517192239.9285edd85f8ef893bb508a61@linux-foundation.org> 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=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT 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. 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.