Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5072869pxj; Wed, 26 May 2021 02:05:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfh6nK3q3TXRctXxToGW5Ce/r+qkX9NfyyftYh4u0glbep7msD1kD3uAYdkuqngEChZN1M X-Received: by 2002:aa7:df96:: with SMTP id b22mr36340861edy.95.1622019911380; Wed, 26 May 2021 02:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622019911; cv=none; d=google.com; s=arc-20160816; b=0wuFmXNPYj6bpWM9Ym6PW40eNoHWZtpQUkB+/FZmiQ8GgOoWb33NCLerIRRllpZ0jg xgmOI3uAzfrjdTFMcTriA2cjDgY5vLrLM66wqTkcCKYCMHpHd2ztNsIkWZiWQ+75rYij +B4N7albi9+AjG4dMj8KS8EqHv8v+XTdISzcnQoGjkT1N44VBk7XrE79Gq0BhdI0Cy1X 8acqLzxiVWjaVUNDVkjDSNBH27gneW/fGkokT6PY4qJmrwRy8wvJwep8d1RNK55HLJ05 FKdp5dhrEbDa27KsDcpfy80P+72TZsjuoVLcW09hNMR09A+YKFE8rysq7G4ik+pqhomN WB0Q== 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=ov2vVFGRo0YNGHDha3TNYdMUocNdGsCbMZE6aGPJkXU=; b=ffCuOyZOseWrf9mwAHUhS5hRkMuBh67CzJT2SSfBp7QtH15Qujch19hbhQr9d2O7Mm yrPyNL+uk1XUb0esLpuzZYzl+sPcoSL2vpx4azcYLN7ta2YNf/mCeQ2WHQ6a6lLigrlk HkigthSX+a9HABACAvC3004VAINUEfULIxoS+n1QCHw/aakwH9ScDx/JKfx6IhBIwivw fZ1l89b/SVVm/+jKM2X3spct3WZwwBJ5XcSIrxUkmsmVqPjPbQ7bRS4ByuzQJCJVNaoS C04VSRnWUklAu8YbAlSBodJW1UPQpUMd9oLPYUDptRkOQ2pvpybOaIxk2RXdd6mvYXkf NuSg== 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 l25si18469751ejq.639.2021.05.26.02.04.47; Wed, 26 May 2021 02:05:11 -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 S233372AbhEZJCp (ORCPT + 99 others); Wed, 26 May 2021 05:02:45 -0400 Received: from outbound-smtp34.blacknight.com ([46.22.139.253]:51741 "EHLO outbound-smtp34.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233464AbhEZJCi (ORCPT ); Wed, 26 May 2021 05:02:38 -0400 Received: from mail.blacknight.com (pemlinmail06.blacknight.ie [81.17.255.152]) by outbound-smtp34.blacknight.com (Postfix) with ESMTPS id 1BF101C39 for ; Wed, 26 May 2021 10:00:42 +0100 (IST) Received: (qmail 24661 invoked from network); 26 May 2021 09:00:41 -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 09:00:41 -0000 Date: Wed, 26 May 2021 10:00:40 +0100 From: Mel Gorman To: Michal Such?nek Cc: linux-kbuild@vger.kernel.org, Andrew Morton , Andrii Nakryiko , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , open list , Arnaldo Carvalho de Melo , Jiri Olsa , Hritik Vijay , bpf , Linux-Net , Linux-MM , Masahiro Yamada Subject: Re: (BTF) [PATCH] mm/page_alloc: Work around a pahole limitation with zero-sized struct pagesets Message-ID: <20210526090040.GY30378@techsingularity.net> References: <20210526080741.GW30378@techsingularity.net> <20210526083342.GY8544@kitsune.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20210526083342.GY8544@kitsune.suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 26, 2021 at 10:33:42AM +0200, Michal Such?nek wrote: > > lib/Kconfig.debug | 3 +++ > > mm/page_alloc.c | 11 +++++++++++ > > 2 files changed, 14 insertions(+) > > > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > > index 678c13967580..f88a155b80a9 100644 > > --- a/lib/Kconfig.debug > > +++ b/lib/Kconfig.debug > > @@ -313,6 +313,9 @@ config DEBUG_INFO_BTF > > config PAHOLE_HAS_SPLIT_BTF > > def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "119") > > > > +config PAHOLE_HAS_ZEROSIZE_PERCPU_SUPPORT > > + def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "122") > > + > > This does not seem workable with dummy-tools. > > Do we even have dummy pahole? > I don't think so but if PAHOLE_HAS_ZEROSIZE_PERCPU_SUPPORT is broken for you then the same problem should have happened for the PAHOLE_HAS_SPLIT_BTF check. -- Mel Gorman SUSE Labs