Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp899689lqh; Thu, 28 Mar 2024 23:39:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX4vz1bDvq/iz11FBAtQGNQYsYip+8Nu40F+EAXVo7WSFnNryucKyD5NPnvUc4WarvZW6ZxDUn5FNUrnVGjAsxe/9jClhStHG3JADwPnw== X-Google-Smtp-Source: AGHT+IF9IRIMoNY/0mc7LEyGet3b42Fos8bPDf1787B95D/E1cuLgNKcW/WVYTWGeR90sSWI6uIS X-Received: by 2002:a0c:f303:0:b0:696:7617:2c12 with SMTP id j3-20020a0cf303000000b0069676172c12mr1414677qvl.24.1711694393109; Thu, 28 Mar 2024 23:39:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711694393; cv=pass; d=google.com; s=arc-20160816; b=hQmR9wvMMrTB6EpvGXPrtfuZV7UlDostOdm5tSpehWr64Un0hHZGZbM7FTCV23tStb DtAf0Y567R/NlLeilJO1ZUbmAuK6WxkhrJa7WFvyJYkIkY5zjsVWkpdWJahXrQLH3QkQ PgN+4VBO0Lrs9JLj6lfXtBkgc3wbXfLxJr11XZESx+fnpCm1ahvboqmdQr2OhOrzZtN1 eQCqlKH+Cgy/yKDlfeMCMNDPV3J41/KD/m1/AK6KAiMiJOqwd5eaI8QbQat3KE4qZD0U ks3jkLfd2bFRKiWIRSnOhSZVgqd6svMBmf5yElY0u1IMPFYY7w9G9yYUeMyqBsBpVcFa iFRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=1Y4I6UTd0JDdQR4PU6ICaHBFQyh+jEh+SyNPOLzdMEU=; fh=RNQqI1si8l72tFPgU1XzPewG9L9ZYOO71KL67fKkXCo=; b=kehqgh88O+hkbl4jLjGut2oqXhOrlPA0hN3efC6BnLt97z68TsKHUjxwcwEnpg5fYe viNiz3dcDnGb6z6+6d8gR2VOW4QOHhxdrEC3v35gfKlYV4Nj2K7luHyff7dkET2FM/UI cs4SHAFBBblI0NTJnvo9q7B9qRbVXUakLUdN6bF7z8of52KLUftZ+w7GPV4CDvlfuLjx I/83ctiesr9rEb2N/quYxqSLVdK0RFry2dQNriQ9yvaQ71pfWzOWHA55MoHEcCq6fRyb xazIeokW8fzI0yvUr8sLUB6HIXoizx8KYc+P7U3dYFPw5oCWDlnx//VJ39xDOnUhGWJk MUuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ghiti.fr); spf=pass (google.com: domain of linux-kernel+bounces-124203-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124203-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x4-20020a0ce0c4000000b0069693f5fe48si3133112qvk.290.2024.03.28.23.39.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 23:39:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124203-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ghiti.fr); spf=pass (google.com: domain of linux-kernel+bounces-124203-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124203-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CFD101C246FB for ; Fri, 29 Mar 2024 06:39:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 472A9376E2; Fri, 29 Mar 2024 06:39:46 +0000 (UTC) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 232BA290E for ; Fri, 29 Mar 2024 06:39:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711694385; cv=none; b=LDuaOd94E54o5LPesb2Pi+cnSGYDNBXp7B/HRJ1fugvFbZMRn40xfdYTCf0PEt2ftrQDwuzeJI+CH8qJAy+oJgcuRHRU+H5+IBkv4nQ+BFmwBu+9zUBbCCKV8vyJLiGgH4yg+AuFbt4EPxY+WZ/FcbELF0UCOQ1Dniy9QnI2u4E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711694385; c=relaxed/simple; bh=hGXBuUG6FVxfLHCFNPddtl1ucDEWOR0gTwTKyAjqjKw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=O03HtxbPqZm/GK2tnRF3V5xq29T6OouWXxksSO2X59vg8pPDPmxs9S/QzoFbFfTmijX7m57p7VcZOfGJUp/RyrD88WQsFeb/K5zp/f2MLkR2G2Cu/5gOo96py0fKkdlh2Kd4fGYlHXzOqS/fKAt8RarNF1yFPD8bn/DPfFlaJ8g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ghiti.fr; spf=pass smtp.mailfrom=ghiti.fr; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ghiti.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ghiti.fr Received: by mail.gandi.net (Postfix) with ESMTPSA id 08DEAFF803; Fri, 29 Mar 2024 06:39:33 +0000 (UTC) Message-ID: Date: Fri, 29 Mar 2024 07:39:33 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/3] page_owner: Fix refcount imbalance Content-Language: en-US To: Oscar Salvador , Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Michal Hocko , Vlastimil Babka , Marco Elver , Andrey Konovalov , Alexander Potapenko References: <20240326063036.6242-1-osalvador@suse.de> From: Alexandre Ghiti In-Reply-To: <20240326063036.6242-1-osalvador@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: alex@ghiti.fr Hi Oscar, On 26/03/2024 07:30, Oscar Salvador wrote: > This series consists of a refactoring/correctness of updating the metadata > of tail pages and a couple of fixups for the refcounting part. > > From this series on, instead of counting the stacks, we count the outstanding > nr_base_pages each stack has, which gives us a much better memory overview. > The other fixup is for the migration part. > > A more detailed explanation can be found in the changelog of the respective > patches. > > Oscar Salvador (3): > mm,page_owner: Update metada for tail pages > mm,page_owner: Fix refcount imbalance > mm,page_owner: Fix accounting of pages when migrating > > Documentation/mm/page_owner.rst | 73 +++++++------ > mm/page_owner.c | 184 +++++++++++++++++++------------- > 2 files changed, 146 insertions(+), 111 deletions(-) > This fixes the following report from syzbot: https://lore.kernel.org/linux-riscv/00000000000070a2660614b83885@google.com/T/#t So you can add: Tested-by: Alexandre Ghiti Thanks, Alex