From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CD943C37BD for ; Tue, 12 May 2026 15:40:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778600414; cv=none; b=BaiQnTgXDc4Kgw0BPxtbbD9juJmbgqSg2CuXgicBjetAEsVK7oSn24SlRUAo7BX3Lq+hsU5FtwNEtcPVmsZ+FqZewP+qL98tbEip/9Wkhl2Q2WV/ak03PoED7wutTdFljKooh1u6oBHjzRNZxFyy1mJL5QlGG8g3De+n400+gLM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778600414; c=relaxed/simple; bh=37/0dGsKGXLdxrESXaIymxbV6EGpsUKGLfdf2277/wI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jvYQF3OXTxg7Uy36Mju7P6AodRn5jmEy8mKN513zbu56+AAmX1gQfKTq0h6sulaANgzCx+H1f05oCTw8HzJERIhrRc/ZGAEX23dAO32O7YrRdTAyr7Tz6onN0QAVRgYPgX/Bq1tescoBU3LmIvFkNkmFlAnCu0PPB/YX5jxKwPE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=qt7w0K3V; arc=none smtp.client-ip=209.85.160.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="qt7w0K3V" Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-50fb1ad3734so68588461cf.1 for ; Tue, 12 May 2026 08:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1778600412; x=1779205212; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=nRmPo6ChRyQRQvzU7w1RFJ68U7NrVdIIy+TpNNJLR10=; b=qt7w0K3VE7sreejZ44Ear2yB6NdW+DN3VI4EMF7kq7GWcODnGccFf8Zqmbbll4l+xE Oaa7GalT6oV76BNgIplK/Ym3ueQn6ytY1uu5D6s2KLMNOS274II4zTLtIWN7yWMtOTQb u+a90VEVJGmShXRrrm4UVb3K+2xjIWwaVXOeUm2lXFjv9Mm4DUszS2ofDkpRsZo8cEAs kmhYk/8BIlbzVxgK9U0SqIl7Q9nufQ0fqrHmsL02PlAa1CON+eBHLS/hIadefzWw+Vzj YC69Ts7a0rxGCZLZm7tZ3PGWiXU9jDQpW3Uz+4Gp6Eoz5SEydwuwvryaP7Nxf1TBIz/C pfMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778600412; x=1779205212; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nRmPo6ChRyQRQvzU7w1RFJ68U7NrVdIIy+TpNNJLR10=; b=Eqs7SIVX7a26GBQJonQ1F2q9tlbi+CAnSQCLLUUgkRP4liVxuBfqhvV8E2FilBOCnr HbtuQ2w/J2Lxk1AMGY1AgK5BIUtPtb2TXzR+D3JCV1UrqDaCq0PwR/HxEmGSGb6olZyN PyZtJYy4MngSwfxrqWziRNnbsEs9GVXJI4FYpg4me2lI/GxQhha9baZ4uSvGjMcIc1xj +MlvN9ebAaEdnyVReoEZ0FCFSfXqV83g6NNkgF0SqlIEfxhMtCli8ksxj42S0yUCZoLV vmygqJqSr+MZVWRFsBmhu2qpIUG8P3YCDxo5UeoWLimZGWqW40bs0nTeSsig8yv4RzMu 8UrQ== X-Gm-Message-State: AOJu0Yw1eFq0/nSxXzbOD0Eili0dS4na5kf8aSnMDTkR3WmgBNV0/+Uh UwhWACWwHOMLpYBlA7rr0qkB+ERh+y9AqgNwR9nrntTLpv06mlN2joCMFEuXJmxprNs= X-Gm-Gg: Acq92OE1kTnLeDceXPduF1Vwt0u/moB7YekU4RTVcleqrJjhpeLVd57QB/FPFbEUIlC PnYfJrAlWlvBoVDbophNdMfbz5inh3UbP5ebwHkLKHozgjU/E1z21HXsXa8rO4LAAOUUwnfbbIy 8TjI3ylGaJFsOiHmgo4kmZMVjiUASlpv8ov6DQ6/Bmo7v2/CoGYCtLhX35xz/EcINmDhvU/Za7v U7BmLPPJw9fL4+ES1+u++3Y20CXL4MDv3Vv9dp25LnZcHFMmYF6oUc7+YvlJ0x4I56PzV4a6avA yIm93mDrASVEDR0Ygi7JM2hiHapGWkrDiY1y1EtGOpXFUFWBiFfvkemsswZ6RT0PEGmEUuBK7UP JQMG9Noi4YyoA3Pn0xRorBhkiXskXiT3V8OICbqWMfUNzpeLGN/+80AuCBdWH96RvvTrpvMspY5 bLEwv/x8E7RbceSJGp9qwas8WvijP246m5Z/cpkFhdZY9Ftm0ACZ2lpb5UqsjzcpB3w2nzVD++w +nZGVG+Eo0j X-Received: by 2002:a05:622a:1a85:b0:50d:af03:c9ca with SMTP id d75a77b69052e-514cf02bcabmr55182511cf.38.1778600411826; Tue, 12 May 2026 08:40:11 -0700 (PDT) Received: from gourry-fedora-PF4VCD3F (pool-100-36-248-188.washdc.fios.verizon.net. [100.36.248.188]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-5148e83dd35sm121584711cf.29.2026.05.12.08.40.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2026 08:40:11 -0700 (PDT) Date: Tue, 12 May 2026 11:40:08 -0400 From: Gregory Price To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, "David Hildenbrand (Arm)" , Jason Wang , Xuan Zhuo , Eugenio =?iso-8859-1?Q?P=E9rez?= , Muchun Song , Oscar Salvador , Andrew Morton , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Brendan Jackman , Johannes Weiner , Zi Yan , Baolin Wang , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Lance Yang , Hugh Dickins , Matthew Brost , Joshua Hahn , Rakie Kim , Byungchul Park , Ying Huang , Alistair Popple , Christoph Lameter , David Rientjes , Roman Gushchin , Harry Yoo , Axel Rasmussen , Yuanchu Xie , Wei Xu , Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Baoquan He , virtualization@lists.linux.dev, linux-mm@kvack.org, Andrea Arcangeli Subject: Re: [PATCH resend v6 17/30] mm: page_alloc: propagate PageReported flag across buddy splits Message-ID: References: <6d98a35c94fa44b550afa66923c620511e2826f0.1778489843.git.mst@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6d98a35c94fa44b550afa66923c620511e2826f0.1778489843.git.mst@redhat.com> On Mon, May 11, 2026 at 05:03:19AM -0400, Michael S. Tsirkin wrote: > When a reported free page is split via expand() to satisfy a > smaller allocation, the sub-pages placed back on the free lists > lose the PageReported flag. This means they will be unnecessarily > re-reported to the hypervisor in the next reporting cycle, wasting > work. > Is this issue generated by the changes in the overall patch set, or an issue present regardless of the proposed zeroing avoidance feature? If the former, then maybe just submit as a standalone patch, seems like a useful improvement regardless. If fundamentally tied to the zeroing-avoidance feature, then nudging this to the front or end of the series (depending on conflicts) would help focus the review of the core new feature. ~Gregory