Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2947191ioo; Tue, 24 May 2022 09:24:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuyt8B7ceXEH+BdOPYbTYT8eAnWNxITTsJYlbKSFaJZv1ah7GAnWti8SOu5Sx4+2wgPnWx X-Received: by 2002:a63:d211:0:b0:3fa:8733:73a with SMTP id a17-20020a63d211000000b003fa8733073amr6288724pgg.606.1653409465967; Tue, 24 May 2022 09:24:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653409465; cv=none; d=google.com; s=arc-20160816; b=PBgYuTNjPn2y1bFJIMjkHkWC/PP6xlFAp7u2ewPBdeG6OGCvAZEKFtXNjv5Ojv0Tla BVxAcjqseK/4H6ZsO656ChmcblZ+RpT47nfzf8YiMwT9AQyE1M5JfONzbzGtUhtf7Dpm JQddf+DNk6hk2+QWcqG9vht+SPtdtYeY+YHUHqwsfrgf4e9jRxSOVFy5yoBLsTmi50Ra aSUlyNe2HBx1Xk8DCCOiji84kuVr0pIGWJWrpVUjwvgX9NArWbjp2njkSdDCVnSIlPXu J4NWmVrBRxMYfFowUeAcTI/BNJeN7sO31siJIoxyAqtfAUOFVwZlOXW9isBOc91FdO7L spgA== 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=Aip8B1qTPaFmWMefDY92vYDXWAAGQQqg7He8MBBpbCY=; b=yEuK1bLI5NBT1FQ7b/8/AthBy96zM6xtkwf0QFXuB7AXCF+BWODcRg7Q7NIdEopfJN VHmaSq+K/GS4cMzE36fcZD5VPW01NzqztJjpr+rpU2Bbfd6oKCd3Xdgto+kRDnXM/y36 iqImtWdLuVacig2uUzNiBXBjScbpARXBG5x6wfhkFMrRsFZsNu7MOMCXno0zS3IdW2qF 4LjfhQRBORTMFgUbeKe4upRzDbhVEFlSylJLtaTTeZsAjr+c6/S9Pa/l/GKZCirtZjRk 7fOgcvlSMDg7e+rhebpPlwmpp4HIg6y2VqFduj9q/uTzkeaVLe4PyHn538dxrKhyGU7t vbIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f18-20020a056a001ad200b0050a502dd307si7406340pfv.127.2022.05.24.09.24.11; Tue, 24 May 2022 09:24:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236360AbiEXLzv (ORCPT + 99 others); Tue, 24 May 2022 07:55:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233460AbiEXLzt (ORCPT ); Tue, 24 May 2022 07:55:49 -0400 Received: from outbound-smtp23.blacknight.com (outbound-smtp23.blacknight.com [81.17.249.191]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 346E45D18B for ; Tue, 24 May 2022 04:55:47 -0700 (PDT) Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp23.blacknight.com (Postfix) with ESMTPS id 97465BF12A for ; Tue, 24 May 2022 12:55:45 +0100 (IST) Received: (qmail 17315 invoked from network); 24 May 2022 11:55:45 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.198.246]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 24 May 2022 11:55:45 -0000 Date: Tue, 24 May 2022 12:55:43 +0100 From: Mel Gorman To: Qais Yousef Cc: Andrew Morton , Nicolas Saenz Julienne , Marcelo Tosatti , Vlastimil Babka , Michal Hocko , LKML , Linux-MM Subject: Re: [PATCH 3/6] mm/page_alloc: Split out buddy removal code from rmqueue into separate helper Message-ID: <20220524115543.GX3441@techsingularity.net> References: <20220512085043.5234-1-mgorman@techsingularity.net> <20220512085043.5234-4-mgorman@techsingularity.net> <20220523160921.k34jjbpd62bmc7fj@wubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20220523160921.k34jjbpd62bmc7fj@wubuntu> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 23, 2022 at 05:09:21PM +0100, Qais Yousef wrote: > On 05/12/22 09:50, Mel Gorman wrote: > > This is a preparation page to allow the buddy removal code to be reused > > in a later patch. > > > > No functional change. > > > > Signed-off-by: Mel Gorman > > Tested-by: Minchan Kim > > Acked-by: Minchan Kim > > --- > > I see this splat when this patch is applied on 5.10.107 kernel: > > I could resolve it by applying this patch: > > diff --git a/mm/vmstat.c b/mm/vmstat.c > index 80c1e0a0f094e..92fb0c08296ef 100644 > --- a/mm/vmstat.c > +++ b/mm/vmstat.c > @@ -957,11 +957,11 @@ void __inc_numa_state(struct zone *zone, > u16 __percpu *p = pcp->vm_numa_stat_diff + item; > u16 v; > > - v = __this_cpu_inc_return(*p); > + v = this_cpu_inc_return(*p); > > if (unlikely(v > NUMA_STATS_THRESHOLD)) { > zone_numa_state_add(v, zone, item); > - __this_cpu_write(*p, 0); > + this_cpu_write(*p, 0); > } > } > 5.18 does not have __inc_numa_state() so it's likely you are missing backports, probably f19298b9516c1a031b34b4147773457e3efe743b at minimum. -- Mel Gorman SUSE Labs