From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C47DC433FE for ; Thu, 6 Oct 2022 14:36:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5B9466B0072; Thu, 6 Oct 2022 10:36:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5419E6B0073; Thu, 6 Oct 2022 10:36:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3E31F6B0074; Thu, 6 Oct 2022 10:36:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 257646B0072 for ; Thu, 6 Oct 2022 10:36:48 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id E65A7408E1 for ; Thu, 6 Oct 2022 14:36:47 +0000 (UTC) X-FDA: 79990776054.01.CE8A22A Received: from outbound-smtp03.blacknight.com (outbound-smtp03.blacknight.com [81.17.249.16]) by imf26.hostedemail.com (Postfix) with ESMTP id 5F50A14001E for ; Thu, 6 Oct 2022 14:36:46 +0000 (UTC) Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp03.blacknight.com (Postfix) with ESMTPS id C7697C0CDF for ; Thu, 6 Oct 2022 15:36:44 +0100 (IST) Received: (qmail 6181 invoked from network); 6 Oct 2022 14:36:44 -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); 6 Oct 2022 14:36:44 -0000 Date: Thu, 6 Oct 2022 15:33:59 +0100 From: Mel Gorman To: Yafang Shao Cc: akpm@linux-foundation.org, linux-mm@kvack.org Subject: Re: [PATCH] mm/page_alloc: Fix incorrect PGFREE and PGALLOC for high-order page Message-ID: <20221006143359.ul6byezppstjbee2@techsingularity.net> References: <20221006101540.40686-1-laoar.shao@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20221006101540.40686-1-laoar.shao@gmail.com> ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665067006; a=rsa-sha256; cv=none; b=hLq53xHTKhbRBhwKK1CBpnod/IWwKmWONr7nkCUhU9GKWJ0yI30DOUonasRM+VUcOvmN2R WodLvgAHKvO0XXnQOg4e601gOX2dalAio6q1/dxNSB+BZO1w7rIC+VZ8nqHw9UK1cG+htr YzFd17MCu2QI5BHEWU2GkRGzoxUbZoA= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=none; spf=pass (imf26.hostedemail.com: domain of mgorman@techsingularity.net designates 81.17.249.16 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665067006; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZgpTPoSXFxeHSAVPp4FZRlWndn/1Br0E0KfcX4k6dBE=; b=2PFN1LoQ9PKeVK7WDF5yaKrIWCADlYLh+0cy+RhYkLGaAbgVg33ePFeIQaDvIUs7L5VD+7 JhpBwjZsPMqc1Hrggm18EBZ9Pcrp4fMN2aEuHnUI879JrOFJvT2pQ+PUiCheMxEsNe/CdH U05JVepoau/os2s26Vw5k76J6VJUEXE= X-Rspamd-Queue-Id: 5F50A14001E X-Rspam-User: Authentication-Results: imf26.hostedemail.com; dkim=none; spf=pass (imf26.hostedemail.com: domain of mgorman@techsingularity.net designates 81.17.249.16 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net; dmarc=none X-Stat-Signature: t6hcz4kksatrk1iqqgn3mk1zhiu3735p X-Rspamd-Server: rspam04 X-HE-Tag: 1665067006-830046 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000002, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Oct 06, 2022 at 10:15:40AM +0000, Yafang Shao wrote: > PGFREE and PGALLOC represent the number of freed and allocated pages. > So the page order must be considered. > > Fixes: 44042b449872 ("mm/page_alloc: allow high-order pages to be stored on the per-cpu lists") > Signed-off-by: Yafang Shao > Cc: Mel Gorman Acked-by: Mel Gorman -- Mel Gorman SUSE Labs