Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp379654pxj; Thu, 27 May 2021 02:22:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/ys+dtFEYelPOqrGtRYnmd8oW3Km/EQH4ScOSzYtPfLQ0JcM8oLM7SP/O/ZF8/RylOdee X-Received: by 2002:a05:6602:242b:: with SMTP id g11mr2011440iob.105.1622107328224; Thu, 27 May 2021 02:22:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622107328; cv=none; d=google.com; s=arc-20160816; b=mQg+dU3YCfV8IiAvmsrX1AdU9fgAx6fQx9qcMZHZvOOCzrfmCfUOWCiaIuE/aetu11 F0aC3ASsSq0ahhxRsMksnx7OaEpX4ahzCi2OAJ8K2KFT3zL6HJ3Mk/QCA6OA+kCWLmmD OPudsbFebAUN4qQHkJPINScujWQpkNneSuemdkKr/81SqY1rlLmZyPPPEc43vaAsieq6 +EgU15OulyXJrVfFsQrNruJOXymgg1/15rvxACUcgFgMm/8uCjSmg86F9v2RAvH5FMXA 2ue2ZgX04UNngZLEoBrurpunUDtHUVGPyo85BoW7BSToylCcUYsFhrCIAIhPbB7sUg1l rIIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iRsknJTfFiEDd9n74h43kOIWLR9thmAzm1ZrB74a5Xk=; b=wwBBNWWgfdmIbjbybEtEV1JMRwt/K1swHFUORLI1safXxXIHo9LURiopmyiMF2ElUI SRuiQTak+OjPeJCrSE1IZa2wq2KCdf13APPXnvMHUpPlbnePApYbCpWxWRiT42wi0ltC TWY03f7e9Te2Ip7CtJsiZbovWiH5cxJtfAibxwEzrlc3FxFt8QAIlcqyi7x/AIJqRBtn 9TgniC98dUas6AfdUevr66jNVMMuQ3kv1oOvylPSWDBvjctDKdSiWdATDdyJR5QNjsqy dngF+rx327wEg2zpLTVCrjalpMlGnUuuM4Uj8kCpgrwLd4RgE7Z8yAoNZUNd2u3NNKQr TmHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Mt+PC76T; 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 w31si1875609jal.77.2021.05.27.02.21.54; Thu, 27 May 2021 02:22:08 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Mt+PC76T; 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 S235661AbhE0JVO (ORCPT + 99 others); Thu, 27 May 2021 05:21:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235608AbhE0JVN (ORCPT ); Thu, 27 May 2021 05:21:13 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A1BEC061574; Thu, 27 May 2021 02:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=iRsknJTfFiEDd9n74h43kOIWLR9thmAzm1ZrB74a5Xk=; b=Mt+PC76TyiEwy+b6L48ycifDAR XKE8hldzILOrEh24nLs1DSsELIQas2IMv96tixj0ygC3f1Lv3VEvRBeKiKDdtAWb19AjM5LU/k5h/ x3XDVHdV417fF1H3Ioq5EQ/NwRnCfBr+Fc1RIrEBzMubdx7Ex60adikqLp3aVUdx7YpCkeCFVn2k6 gyVeE5GIlQjhhQX6EMJnfTUpNzx1SHu06QnzDFpnSeKq7kiP0aebbIVgqScJDxi7FexSCpNSXgBHN 1vL261F7MmvNoS69Ac4LUN+xB6UnMqaSfWnV3cPlTxon563qfBxvhw3p6iNh2RBqXL5IZxp9HvQB8 7v4DbJ5Q==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lmC9l-005NI5-1e; Thu, 27 May 2021 09:18:41 +0000 Date: Thu, 27 May 2021 10:18:21 +0100 From: Christoph Hellwig To: Mel Gorman Cc: Christoph Hellwig , Andrew Morton , Arnaldo Carvalho de Melo , Andrii Nakryiko , Michal Suchanek , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , open list , Jiri Olsa , Hritik Vijay , bpf , Linux-Net , Linux-MM Subject: Re: [PATCH] mm/page_alloc: Work around a pahole limitation with zero-sized struct pagesets Message-ID: References: <20210526080741.GW30378@techsingularity.net> <20210527090422.GA30378@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210527090422.GA30378@techsingularity.net> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 27, 2021 at 10:04:22AM +0100, Mel Gorman wrote: > What do you suggest as an alternative? > > I added Arnaldo to the cc as he tagged the last released version of > pahole (1.21) and may be able to tag a 1.22 with Andrii's fix for pahole > included. > > The most obvious alternative fix for this issue is to require pahole > 1.22 to set CONFIG_DEBUG_INFO_BTF but obviously a version 1.22 that works > needs to exist first and right now it does not. I'd be ok with this but > users of DEBUG_INFO_BTF may object given that it'll be impossible to set > the option until there is a release. Yes, disable BTF. Empty structs are a very useful feature that we use in various places in the kernel. We can't just keep piling hacks over hacks to make that work with a recent fringe feature.