From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 703BCC10F04 for ; Thu, 7 Dec 2023 03:42:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229468AbjLGDiJ (ORCPT ); Wed, 6 Dec 2023 22:38:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjLGDiH (ORCPT ); Wed, 6 Dec 2023 22:38:07 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7D30D6D; Wed, 6 Dec 2023 19:38:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1701920288; bh=cg7C4OJMgJ7KcLBzNrAiGG2aMnf+ML4HlAn+5fbR3vs=; h=Date:From:To:Cc:Subject:From; b=ZD/Ov0lcV4iw7cnXMaRTF2eSU2LHfScR4D/0GiQeaMAr9SRquQC0LPrt8THdwiOBS OVstKB24w5HTTxNegnbXP3hMyvtiteZvZIQPbYEtfza25Ew7SFkc149jtBSi87DlIo knyY7Hel2Wd7omk+0uFVDdLwW/ETaPE+W/WWfEedPtaHUB50CR5MLcmMeZCV1Zy3S1 Fgrx+J53REf3dFp979j1ptOQtrzCPhAZKIGp5FbyyefxTEUobIBRIsSAmGXVL63L18 hSPCyo7Eq5CLReMMq6qq1dtSzxcjXTGJtjLvPr2tEu8QV/5YD6UXORLR6yoDpOgD2d zYdsa/pnB7lHA== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Sm0NJ3v8Lz4wbQ; Thu, 7 Dec 2023 14:38:08 +1100 (AEDT) Date: Thu, 7 Dec 2023 14:38:06 +1100 From: Stephen Rothwell To: Tejun Heo Cc: Waiman Long , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the cgroup tree Message-ID: <20231207143806.114e0a74@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/u3Hr9hsUmQ9M8eg+MLNaR2m"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/u3Hr9hsUmQ9M8eg+MLNaR2m Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the cgroup tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from : kernel/cgroup/cgroup.c: In function 'cgroup_free_root': include/linux/compiler_types.h:435:45: error: call to '__compiletime_assert= _1792' declared with attribute error: BUILD_BUG_ON failed: !__is_kvfree_rcu= _offset(offsetof(typeof(*(root)), rcu)) 435 | _compiletime_assert(condition, msg, __compiletime_assert_, = __COUNTER__) | ^ include/linux/compiler_types.h:416:25: note: in definition of macro '__comp= iletime_assert' 416 | prefix ## suffix(); = \ | ^~~~~~ include/linux/compiler_types.h:435:9: note: in expansion of macro '_compile= time_assert' 435 | _compiletime_assert(condition, msg, __compiletime_assert_, = __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_a= ssert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_M= SG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condit= ion) | ^~~~~~~~~~~~~~~~ include/linux/rcupdate.h:985:17: note: in expansion of macro 'BUILD_BUG_ON' 985 | BUILD_BUG_ON(!__is_kvfree_rcu_offset(offsetof(typeo= f(*(ptr)), rhf))); \ | ^~~~~~~~~~~~ include/linux/rcupdate.h:957:29: note: in expansion of macro 'kvfree_rcu_ar= g_2' 957 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) | ^~~~~~~~~~~~~~~~ kernel/cgroup/cgroup.c:1318:9: note: in expansion of macro 'kfree_rcu' 1318 | kfree_rcu(root, rcu); | ^~~~~~~~~ In function 'cgroup_free_root', inlined from 'cgroup_destroy_root' at kernel/cgroup/cgroup.c:1363:2: include/linux/compiler_types.h:435:45: error: call to '__compiletime_assert= _1792' declared with attribute error: BUILD_BUG_ON failed: !__is_kvfree_rcu= _offset(offsetof(typeof(*(root)), rcu)) 435 | _compiletime_assert(condition, msg, __compiletime_assert_, = __COUNTER__) | ^ include/linux/compiler_types.h:416:25: note: in definition of macro '__comp= iletime_assert' 416 | prefix ## suffix(); = \ | ^~~~~~ include/linux/compiler_types.h:435:9: note: in expansion of macro '_compile= time_assert' 435 | _compiletime_assert(condition, msg, __compiletime_assert_, = __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_a= ssert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_M= SG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condit= ion) | ^~~~~~~~~~~~~~~~ include/linux/rcupdate.h:985:17: note: in expansion of macro 'BUILD_BUG_ON' 985 | BUILD_BUG_ON(!__is_kvfree_rcu_offset(offsetof(typeo= f(*(ptr)), rhf))); \ | ^~~~~~~~~~~~ include/linux/rcupdate.h:957:29: note: in expansion of macro 'kvfree_rcu_ar= g_2' 957 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) | ^~~~~~~~~~~~~~~~ kernel/cgroup/cgroup.c:1318:9: note: in expansion of macro 'kfree_rcu' 1318 | kfree_rcu(root, rcu); | ^~~~~~~~~ Possibly caused by commit 77070eeb8821 ("cgroup: Avoid false cacheline sharing of read mostly rstat= _cpu") I have used the cgroup tree from next-20231206 for today. --=20 Cheers, Stephen Rothwell --Sig_/u3Hr9hsUmQ9M8eg+MLNaR2m Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmVxPh4ACgkQAVBC80lX 0GyQUggAj0rtK1Y3Canq6G7S+7XcR0Fh3IefUS+yUVVSd+FxroNJp5/aC2AHWMMJ 5Q7Gua0PoK0F8RNskC0TqxESt44CjsA/1Y9yfHdeWI8kTCqhWPqxDJSz2S2hqyGO gEa3dre+l6FnwVrSFimhAFBiIXIwwkOQMVGU/XWyKwP2JyBYAHd0w8CWfczx16Mn nsMuQ1EYC0jTNnm4bt4t6DqMOh0xPF5QXulyJSx3fpQ3rGrf5rv12OIEFP7KAx00 tIo1+/AlOhp9q6Ptivab/McOg+7SbD8KwClL2GnLwSofYhlyWASHec2HzlNuI+kO b7UKBiYVD6LL4TCX5m7gJ89XJtj4+Q== =u5W6 -----END PGP SIGNATURE----- --Sig_/u3Hr9hsUmQ9M8eg+MLNaR2m--