Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp251976pxv; Thu, 15 Jul 2021 03:32:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQXVMsOyFn6DqIQKO0VPVIw47OuSeamFaDrgI1/U14TeDZaFy+h+Od8W1BkmP7eOfYROYi X-Received: by 2002:a92:2805:: with SMTP id l5mr2237258ilf.242.1626345147074; Thu, 15 Jul 2021 03:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626345147; cv=none; d=google.com; s=arc-20160816; b=nKTuWa2zcZK7gdvnDjnbSWVUiSEtGnXCrDy1S28NRbh3tO843nEvUd2PASaVdmy2sz K818k8BYZ1AdL9Zry3M6bQ95ej+OLED6UTTaWgvHnq7bPHf0OMUuqLZswnRT1dN8iALp rg2ae113UpFG7X9zbyq6IZwduDSmQzw3C+Qe2XV38lubq7VP9H1zaUnzLI+ZQ0bdmd+h PW3rTpsQ3M16x8NVolPVohjDFMZHEx/0KYecY0SGFYyd8aaYVYJ1hDQ0kZyXQdq/250C JbIMgLltIrMTNQ9QpHDvRVGt21/66mS7XUyhaoIKHSynC7BsTc6c44AXtn1h57xWyYY6 fR3A== 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=dVJFXme3XDOqiwojagT/LQtyzah7F+T15d6O1DH/kDY=; b=QdWcCyfFHAl+gSOIoryQgGhyRLgemByR1Da9cqZR43RRLdA2VBqiExZWgbnsJKaIgC g5blv2YUA9ngXhbsO9E94V0XXc8sTr+5XqtLCIY6YPtUqRJNUwjhNnqaNW+y6wxnt+ad y7ut/RmaIuDAIAOW2ulJyJ90/ruLUEG6X8P6Iw3clp9aUpYTc3LYa4nQEEL3ZUveCz7A xvbedi60jLRtjwhtGdSMTYPk+P1+C49P9hoAPo7C5cECd4SKTVKVN2+Yko4jWY+mt21n ToeAG+SlyLuSfwjKxESfMoGQsQq290pB9ljPnMSPQvYUiUtR3Ln5YUvPFie2h+PkOOwF /x6g== 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 p14si7394939ils.62.2021.07.15.03.32.15; Thu, 15 Jul 2021 03:32:27 -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 S231670AbhGOHj3 (ORCPT + 99 others); Thu, 15 Jul 2021 03:39:29 -0400 Received: from outbound-smtp20.blacknight.com ([46.22.139.247]:57045 "EHLO outbound-smtp20.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbhGOHj3 (ORCPT ); Thu, 15 Jul 2021 03:39:29 -0400 Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp20.blacknight.com (Postfix) with ESMTPS id 9AF3A1C4EF3 for ; Thu, 15 Jul 2021 08:36:35 +0100 (IST) Received: (qmail 20263 invoked from network); 15 Jul 2021 07:36:35 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.17.255]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 15 Jul 2021 07:36:35 -0000 Date: Thu, 15 Jul 2021 08:36:34 +0100 From: Mel Gorman To: Christoph Hellwig Cc: Andrew Morton , Desmond Cheong Zhi Xi , Zhang Qiang , Yanfei Xu , Chuck Lever , Jesper Dangaard Brouer , Matteo Croce , Linux-MM , LKML Subject: Re: [PATCH 4/4] Revert "mm/page_alloc: make should_fail_alloc_page() static" Message-ID: <20210715073633.GN3809@techsingularity.net> References: <20210713135625.7615-1-mgorman@techsingularity.net> <20210713135625.7615-5-mgorman@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 Thu, Jul 15, 2021 at 07:34:53AM +0100, Christoph Hellwig wrote: > On Tue, Jul 13, 2021 at 02:56:25PM +0100, Mel Gorman wrote: > > From: Matteo Croce > > > > This reverts commit f7173090033c70886d925995e9dfdfb76dbb2441. > > > > Fix an unresolved symbol error when CONFIG_DEBUG_INFO_BTF=y: > > I still fundamentally disagreed with this "fix". Whatever code requires > a function to be non-static without a prototype and reference is > completely fucked up beyond rescue and needs to be disabled util > it can be fixed instead of worked around like this. I'm definitely not happy with the fix but the breakage was unintentional and given that it was done for a W=1 warning, the patch was low priority and I felt that users that do error injection to stress failure paths at least had some value. If I was fixing something important, I would feel differently and we've slammed patches before that fixed warnings while introducing worse problems. I'm still hoping that BTF gets fixed because it's the right thing to do. -- Mel Gorman SUSE Labs