Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5047894pxj; Wed, 26 May 2021 01:16:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsJ72gVm2dnkNQ1bTArYJqI6w2PPFhQNB7bxF6QoVmmNnbsUBcVGfnncHWG0utPY0QI7pH X-Received: by 2002:a05:6e02:ca5:: with SMTP id 5mr27767600ilg.207.1622017011484; Wed, 26 May 2021 01:16:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622017011; cv=none; d=google.com; s=arc-20160816; b=FKI7A//mDqkOfCgqYa3fuewE3D0LIdhqL7FcJneHAcz6O5hpAGCICFQzDCdpFfwsI5 8bIyIRFHiThwuhjAlPEzmV3b5z0KmRGSQBFEGDbKeYvzT8T0oqVgXI1kdVsJC+pPqZ+g aal0sx0LZwFqrgQVhCtvfqKBT3twOfZLjDY50qGSmmy6/BWd9tUUyP3ZJonwN+ev4L08 /SaG8vwaGFxJtncvkpxqpBlaA218CP9SNPZJ6hNsZOUMTEYWRjXB4xYlmWaNo3WLdths swHFCOxkC9lDqUXiOalLLNQA+zawKEnuXIa83FvrQnWo8DhtbzcZvYOUD8CNFFWqurev eDTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=EYGZE3fPj0IE1O5yVqdiLAv5zO4TfoJA2/HvKnk/RUA=; b=0eF6w+8wirQNF98dCOvpdx10lhJFWZkTCnJP9w/StxWGPQrQ6fDm0Jj+0WvglFuRir Ludgumfr9OVClwMbtucUYy7kfuYFQuJE8npP3tsGdwtl3lZ5pErDWOfYKzCLVhq4l+tA ol8dzo/NMoNyO/A7jvJmra0FQPgseb5vvIEHuC2gjBduZugtX2/+dGZWXxzm7w/uLJ7Q nW1xF2AyzoZv5+VbL5LYc0nXEcjCL6U3vxk2EZrNxdJvKin4cGddEhnHbaRxr1fhAz/I vNndGIoO4pwtO2ySflbTaEI+JwPZZgSXzhnsu0uq/Ysv6v2hjCElHLjeGYLA1FiPf9eg cHsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d20si21704613jak.40.2021.05.26.01.16.36; Wed, 26 May 2021 01:16:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231961AbhEZIQu (ORCPT + 99 others); Wed, 26 May 2021 04:16:50 -0400 Received: from outbound-smtp18.blacknight.com ([46.22.139.245]:41355 "EHLO outbound-smtp18.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231533AbhEZIQt (ORCPT ); Wed, 26 May 2021 04:16:49 -0400 Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp18.blacknight.com (Postfix) with ESMTPS id 1EB211C3FFA for ; Wed, 26 May 2021 09:15:14 +0100 (IST) Received: (qmail 25045 invoked from network); 26 May 2021 08:15:13 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.23.168]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 26 May 2021 08:15:13 -0000 Date: Wed, 26 May 2021 09:15:11 +0100 From: Mel Gorman To: Andrii Nakryiko Cc: Michal Such?nek , bpf , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Networking , open list , Arnaldo Carvalho de Melo , Jiri Olsa , Hritik Vijay Subject: Re: BPF: failed module verification on linux-next Message-ID: <20210526081511.GX30378@techsingularity.net> References: <20210519141936.GV8544@kitsune.suse.cz> <20210525135101.GT30378@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Tue, May 25, 2021 at 6:51 AM Mel Gorman wrote: > > > > On Mon, May 24, 2021 at 03:58:29PM -0700, Andrii Nakryiko wrote: > > > > It took me a while to reliably bisect this, but it clearly points to > > > > this commit: > > > > > > > > e481fac7d80b ("mm/page_alloc: convert per-cpu list protection to local_lock") > > > > > > > > > > Ok, so nothing weird about them. local_lock_t is designed to be > > > zero-sized unless CONFIG_DEBUG_LOCK_ALLOC is defined. > > > > > > But such zero-sized per-CPU variables are confusing pahole during BTF > > > generation, as now two different variables "occupy" the same address. > > > > > > Given this seems to be the first zero-sized per-CPU variable, I wonder > > > if it would be ok to make sure it's never zero-sized, while pahole > > > gets fixed and it's latest version gets widely packaged and > > > distributed. > > > > > > Mel, what do you think about something like below? Or maybe you can > > > advise some better solution? > > > > > > > Ouch, something like that may never go away. How about just this? > > Yeah, that would work just fine, thanks! Would you like me to send a > formal patch or you'd like to do it? > Thanks Andrii for bisecting and debugging this, I used your analysis in the changelog which I hope is ok. For future mailing list searches based on the same bug, I sent a formal patch https://lore.kernel.org/r/20210526080741.GW30378@techsingularity.net > > diff --git a/scripts/rust-version.sh b/scripts/rust-version.sh > > old mode 100644 > > new mode 100755 > > Probably didn't intend to include this? > That was an oversight when applying Andrew's mmotm tree which missed setting the permissions on rust-version.sh and broke build. -- Mel Gorman SUSE Labs