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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6BB13C7EE30 for ; Mon, 30 Jun 2025 01:18:56 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4bVpG705yNz2yfx; Mon, 30 Jun 2025 11:18:55 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=115.124.30.132 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1751246334; cv=none; b=RreBImshoCmLdv4JzFRTJ/K95jHb6Mc89gk8kt5Ez89q/dyZ0+ulEc/OboNhYLYTxvx3a1MArpwz4+qX5BbSgHKlZl5rRg5EuRRPDv6yBgHzHQbxcCHiK2MFVqrQuDDc6V03gqhwjnuVoXYn2/h2z+dy6TmYkgC8fzxubHxYsmqMRL/PNjuPdmollPuyn2HAvp2XEjnTsQszOyoKTgkLHMSxRpx1zcYK8YLPm9QrRz3C1Zct+ysz5Xn7NkiJds7TIV3x7/MSSQpXhJ5zMlvKaALvTmPSZ8zuu7CYN/UMbiA/iGsW1AxW2SyD9muGXrtIItaCDXqwlbA19d9dbdGdBQ== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1751246334; c=relaxed/relaxed; bh=RbZOpy8J0k5RuQe6TfwdpEBKFEQv7E87hUnTEjHxunw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=GYM+lsqVDWVImcGWTvRsa6rRl/w4Vj8rxZkZP/cF4BZ12/V7ECtJVNnIQqsFZube+Z4O/zDe9iB3Nz//0NbiF1mev4N6XWUCJNzFau9FEbh1ViolG9uGhkiSAkiY89XqpZdcjTdz5wMz9DAIoVPOhOqeuaeiI+5KTYPUkE9NEYMfKJoJHU2AFZkvHkAxYJ75Di55Vw/lWJ4xUsHwKeCq/KNmS5BpfYXyDeyiWgwVCcZpX7DYxDQbDbyAW4MmQHbWMrpUthtGaTfU3EMyMWNCsRTJgpmD1E5uYqjQI3jGN7xxBN1c1+ZEoPYLkjKRnQUT1QT0y+Z0cj/grJ6OR+GlJg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; dkim=pass (1024-bit key; unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=e3Usm7JX; dkim-atps=neutral; spf=pass (client-ip=115.124.30.132; helo=out30-132.freemail.mail.aliyun.com; envelope-from=ying.huang@linux.alibaba.com; receiver=lists.ozlabs.org) smtp.mailfrom=linux.alibaba.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=e3Usm7JX; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.alibaba.com (client-ip=115.124.30.132; helo=out30-132.freemail.mail.aliyun.com; envelope-from=ying.huang@linux.alibaba.com; receiver=lists.ozlabs.org) Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4bVpG45qzRz2yft for ; Mon, 30 Jun 2025 11:18:51 +1000 (AEST) DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1751246327; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=RbZOpy8J0k5RuQe6TfwdpEBKFEQv7E87hUnTEjHxunw=; b=e3Usm7JX62/lShfnLGXJEYUQBHkBM1W3N6G+pWyn3J8vywke3JuhDEQB71MTN0ZtRDSwBD+w+MVoQfO+Qzqc64pU4taiWl6EfrNt7zknFHVDhkAWHyWJ3jT/MxhQo09t4rlAVb+V69xEvrmRTCZXgzgp8qLrnzuLkc851SR52zI= Received: from DESKTOP-5N7EMDA(mailfrom:ying.huang@linux.alibaba.com fp:SMTPD_---0Wg2L3YV_1751246322 cluster:ay36) by smtp.aliyun-inc.com; Mon, 30 Jun 2025 09:18:43 +0800 From: "Huang, Ying" To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-doc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, virtualization@lists.linux.dev, linux-fsdevel@vger.kernel.org, Andrew Morton , Jonathan Corbet , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Jerrin Shaji George , Arnd Bergmann , Greg Kroah-Hartman , "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , Eugenio =?utf-8?Q?P=C3=A9rez?= , Alexander Viro , Christian Brauner , Jan Kara , Zi Yan , Matthew Brost , Joshua Hahn , Rakie Kim , Byungchul Park , Gregory Price , Alistair Popple , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , "Matthew Wilcox (Oracle)" , Minchan Kim , Sergey Senozhatsky , Brendan Jackman , Johannes Weiner , Jason Gunthorpe , John Hubbard , Peter Xu , Xu Xin , Chengming Zhou , Miaohe Lin , Naoya Horiguchi , Oscar Salvador , Rik van Riel , Harry Yoo , Qi Zheng , Shakeel Butt Subject: Re: [PATCH RFC 13/29] mm/balloon_compaction: stop using __ClearPageMovable() In-Reply-To: <20250618174014.1168640-14-david@redhat.com> (David Hildenbrand's message of "Wed, 18 Jun 2025 19:39:56 +0200") References: <20250618174014.1168640-1-david@redhat.com> <20250618174014.1168640-14-david@redhat.com> Date: Mon, 30 Jun 2025 09:18:42 +0800 Message-ID: <87ldpaowlp.fsf@DESKTOP-5N7EMDA> User-Agent: Gnus/5.13 (Gnus v5.13) X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=ascii David Hildenbrand writes: > We can just look at the balloon device (stored in page->private), to see > of the page is still part of the balloon. s/of/if/ ? just a trivial issue if I'm not wrong. > As isolated balloon pages cannot get released (they are taken off the > balloon list while isolated), we don't have to worry about this case in > the putback and migration callback. Add a WARN_ON_ONCE for now. > > Signed-off-by: David Hildenbrand [snip] --- Best Regards, Huang, Ying