Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2066861lqo; Sun, 19 May 2024 11:36:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVsq6QtvgaeJz/qUOAbcPlqRLfPtho9YWCw282Mi+j0BfnEXs3rDfsR66Zo27ZsnTnKtLyWsQJ58DyuTtsSVfp2TWICiFb2ceNFIBDh0w== X-Google-Smtp-Source: AGHT+IFtwtoF1LstSYnk31KDTzR4EnGt4SyXAlg7v5olqrZSUjJWddPYKNj2Twj79i0Ao8MJPtW0 X-Received: by 2002:a05:6a20:321b:b0:1af:b2e5:2a5e with SMTP id adf61e73a8af0-1afde1b6f98mr23370517637.49.1716143808457; Sun, 19 May 2024 11:36:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716143808; cv=pass; d=google.com; s=arc-20160816; b=0ohNclh9YdeXOEOoXAcZlw5k3+CBcgGvnp9wzSZ6/VfM5jIIVwTMRFbVLHok94JUro 4Cg+M5zOm+CiwE/nTHk5jO/CM9UJ4K4p9ztMQT8VtTxMGMhvDZ8ZT1iKAOS7KpjSRg0R tOZ9xRUD9ra4ls5UgbcgQvyHavf4Bhci2pMfM2VEbs4l1sK8fdYFvt5oIZJws3SJfYlT qv2sptM8dZ7nPH7WOFPloUk+gKgeOAJK4RZSJZg3XFMCKUtlY4M9SFB7JhT26EoTF5OD bAAtOEKjGX4Uq8V5c/gWD/2TNFCLYTd9eiEVHqZJABqYHpNw0XAzMrFxwcQBakiw5iIn R2yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Ef7XIllQveMAPHSBXI6IuLEY50oSp7PeJYfOlQkhN34=; fh=tqY2PEax0amPRCB67FS/Q+vtu4PW5/01z+6UuXD0sKA=; b=JbSsC1r9WafeNNTf3bTDC5dOqsco54t1mEoQCHnJiSXDMltjAfv/DPJ/iASJTyk4bo 8dvR0NasGq2tHeWjVWlopGPE+aXvT69HN08Z1btuIIknEC9J2JyV2O/BrjwwqQbdSv7/ 9LPE/JaKWASWs76epv3PihZD41jIJ6jIQQ9JubYSUo4wWv8WQi9wyKteVjRPEgsICKfX Tmq6hQSe+3JH2f9lpdAxxskloXDeEswsLzrS7ioytW5onp6HkewgvBhtTcX07ihkNmDN jNsAdSXxdhcMhmUue71stbwys8zdHwIwJNYTo5uJ/SyO51UMam/C0OvcB2BLhceQdggp cpEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=CpFm2ZzT; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-183199-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183199-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bd6f2e9465si1954955a91.144.2024.05.19.11.36.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:36:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183199-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=CpFm2ZzT; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-183199-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183199-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D106228153F for ; Sun, 19 May 2024 18:36:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFFD06D1C1; Sun, 19 May 2024 18:36:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="CpFm2ZzT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B0BB045038; Sun, 19 May 2024 18:36:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716143800; cv=none; b=V4aPB6CDG76dVVQQAuoC533URUVn33BVHy1RSHHzGhp/J2FE4DMAhANKANwmFvT8xzFyviEFFBCSmHegsNaMyfmj4mENeTJPT9wqgSDeB3Dyu/kXGNwY/bR8ycy+k2miZfCw2Owlprllj22AJfk9cxga6Jn54jdDP+oqwnnP4yc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716143800; c=relaxed/simple; bh=UUhwXxqUPl7s1YkfVggMn/rNgFKLSx/iqaAxFo+gv7w=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=oos0A+CEhoHlKluqSyczOHi+cnxwsvuOWc3S21D+DhJ6qRoutalVvi1KSEZ3kCLFkacAvcbDR1vXqKfD+pZYvU6iY8gKKG4Km9hoQcKvz2bbOGhJJqjAxmttk+sFRGCmhRqcu7m6uRHTbvBcAgdqz0g8fM2OoEVFBQehW7qYh7M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=CpFm2ZzT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29884C32781; Sun, 19 May 2024 18:36:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1716143800; bh=UUhwXxqUPl7s1YkfVggMn/rNgFKLSx/iqaAxFo+gv7w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=CpFm2ZzTjT7bt9pUpITHxMxR/vtK7evZs57rWz3tBtSlm/XOEFX3G9m1K6CGPK+kv 1FoUOPWtfpQWYJY+33Zak7EMr76YRoJl/9/PXFfU+OvzXBuqc0uGOpScWZVZDwvIP/ d94OEdp8flElEddq31aS8tKpn+K3F8NFhhSU2orc= Date: Sun, 19 May 2024 11:36:39 -0700 From: Andrew Morton To: Linus Torvalds Cc: 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: <20240519113639.db3fe5f80d25be4e7666751e@linux-foundation.org> In-Reply-To: References: <20240517192239.9285edd85f8ef893bb508a61@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Sun, 19 May 2024 08:32:44 -0700 Linus Torvalds wrote: > On Fri, 17 May 2024 at 19:22, Andrew Morton wrote: > > > > include/linux/slab.h > > https://lkml.kernel.org/r/20240429114302.7af809e8@canb.auug.org.au > > This is not only a merge conflict, your tree is actively buggy. > > You have introduced changes like this: > > -static inline __alloc_size(1, 2) void *kvcalloc(size_t n, size_t > size, gfp_t flags) > -{ > - return kvmalloc_array(n, size, flags | __GFP_ZERO); > -} > +#define kvcalloc(_n, _size, _flags) kvmalloc_array(_n, _size, > _flags|__GFP_ZERO) > > and that's just completely wrong. Note the "_flags|__GFP_ZERO": yes, > the bitwise or is fairly low down in the operator precedence rules, > and it probably work sin practice because most cases will just pass in > a simple expression for the flags, but it's still *horribly* wrong. > > 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. Thanks, I've asked Suren and Kent to check it all over. > I also note that you have *SEVEN* pointless merges that have no > explanation for them. I'm happy that you use git, but that means that > you also need to either > > (a) not do merges at all and treat it as a patch queue > > (b) do merges _properly_ and not throw them around like some madman > > And doing them properly means not only writing good commit messages, > but actually having good reasons for them. As it is, we have > > 5d1bc760583f ("merge mm-hotfixes-stable into mm-nonmm-stable to pick > up needed changes") > 640958fde130 ("Merge branch 'master' into mm-stable") > 4e2e36129225 ("Merge branch 'master' into mm-stable") > 1dd4505cf4c8 ("Merge branch 'master' into mm-stable") > 71919308943d ("Merge branch 'master' into mm-stable") > b228ab57e51b ("Merge branch 'master' into mm-stable") > 5e2806112864 ("Merge branch 'master' into mm-stable") This is me advancing the master branch once per week until we hit -rc4. I don't understand why these merges were visible to this pull. I sent: : The following changes since commit 5d1bc760583f225032f91bd88853f4c26acaf4e0: : : merge mm-hotfixes-stable into mm-nonmm-stable to pick up needed changes (2024-04-25 20:54:12 -0700) : : are available in the Git repository at: : : git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-stable-2024-05-17-19-19 : : for you to fetch changes up to 76edc534cc289308130272a2ac28694fc9b72a03: : : memcg, oom: cleanup unused memcg_oom_gfp_mask and memcg_oom_order (2024-05-11 15:41:37 -0700) : This has worked OK before,