Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B56D920CCDC for ; Sat, 31 Jan 2026 22:24:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769898267; cv=none; b=g1foRB6zk0NRQnJM39D/R8/z+sjegMYWqXzL6ayWfkp49TzsxFWSyvHUwsZkpaPUVou9Nr9KX8uvFztZE3BDCcpYU3mTMN92xWuvvUxazOxENv1Zjlu05F/jnZ//LkVlz5G8TGE86NqERo67qsFDLgprAOVZvypQCRPzBnkU2Ck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769898267; c=relaxed/simple; bh=RTVJhJM32Ys+enX+zQd8nq1FTphkp9uehdmu9ncw5es=; h=Date:To:From:Subject:Message-Id; b=I/zspI1I7xFqMMCScIkbboR8Hcr7KxIkZTyA7lzcIFTBiURxoyPWlHQIjA7cajHUe5W4ezRiyE8aH7q1EK2w/qAl8vjHMUfRAgcNrYPEK4WqdpiG2fAvZsqVbbAB6suGMXOzpijyTTK73EaR1QCNxCCGaPbKr5aZ91D1dHEQi3w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=z2j9XhYm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="z2j9XhYm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BB28C4CEF1; Sat, 31 Jan 2026 22:24:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1769898267; bh=RTVJhJM32Ys+enX+zQd8nq1FTphkp9uehdmu9ncw5es=; h=Date:To:From:Subject:From; b=z2j9XhYmlUqFj0Dokv3ZMIeaL3Fr0FygOkxKI0EAff4M7WObbnwfNSxhcczX1tDMP sX/g1dl7PR/CJ5RHsRg3kZEnZTbGkWRpz9mm4+91u9VPq5doslNddflf9Pp9ggeuZD SmhbberXna2QaRB0kMukSCh4wXmITxj4jKgZMoFE= Date: Sat, 31 Jan 2026 14:24:27 -0800 To: mm-commits@vger.kernel.org,ziy@nvidia.com,xuanzhuo@linux.alibaba.com,vbabka@suse.cz,surenb@google.com,sj@kernel.org,rppt@kernel.org,osalvador@suse.de,npiggin@gmail.com,mst@redhat.com,mpe@ellerman.id.au,mhocko@suse.com,maddy@linux.ibm.com,lorenzo.stoakes@oracle.com,liam.howlett@oracle.com,jerrin.shaji-george@broadcom.com,jasowang@redhat.com,gregkh@linuxfoundation.org,eperezma@redhat.com,corbet@lwn.net,christophe.leroy@csgroup.eu,arnd@arndb.de,david@kernel.org,akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-stable] mm-balloon_compaction-assert-that-the-balloon_pages_lock-is-held.patch removed from -mm tree Message-Id: <20260131222427.8BB28C4CEF1@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The quilt patch titled Subject: mm/balloon_compaction: assert that the balloon_pages_lock is held has been removed from the -mm tree. Its filename was mm-balloon_compaction-assert-that-the-balloon_pages_lock-is-held.patch This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: "David Hildenbrand (Red Hat)" Subject: mm/balloon_compaction: assert that the balloon_pages_lock is held Date: Tue, 20 Jan 2026 00:01:24 +0100 Let's add some sanity checks for holding the balloon_pages_lock when we're effectively inflating/deflating a page. Link: https://lkml.kernel.org/r/20260119230133.3551867-17-david@kernel.org Signed-off-by: David Hildenbrand (Red Hat) Reviewed-by: Lorenzo Stoakes Acked-by: Michael S. Tsirkin Cc: Arnd Bergmann Cc: Christophe Leroy Cc: Eugenio Pérez Cc: Greg Kroah-Hartman Cc: Jason Wang Cc: Jerrin Shaji George Cc: Jonathan Corbet Cc: Liam Howlett Cc: Madhavan Srinivasan Cc: Michael Ellerman Cc: Michal Hocko Cc: Mike Rapoport Cc: Nicholas Piggin Cc: Oscar Salvador Cc: SeongJae Park Cc: Suren Baghdasaryan Cc: Vlastimil Babka Cc: Xuan Zhuo Cc: Zi Yan Signed-off-by: Andrew Morton --- mm/balloon_compaction.c | 2 ++ 1 file changed, 2 insertions(+) --- a/mm/balloon_compaction.c~mm-balloon_compaction-assert-that-the-balloon_pages_lock-is-held +++ a/mm/balloon_compaction.c @@ -28,6 +28,7 @@ static DEFINE_SPINLOCK(balloon_pages_loc static void balloon_page_insert(struct balloon_dev_info *balloon, struct page *page) { + lockdep_assert_held(&balloon_pages_lock); __SetPageOffline(page); if (IS_ENABLED(CONFIG_BALLOON_COMPACTION)) { SetPageMovableOps(page); @@ -45,6 +46,7 @@ static void balloon_page_insert(struct b */ static void balloon_page_finalize(struct page *page) { + lockdep_assert_held(&balloon_pages_lock); if (IS_ENABLED(CONFIG_BALLOON_COMPACTION)) set_page_private(page, 0); /* PageOffline is sticky until the page is freed to the buddy. */ _ Patches currently in -mm which might be from david@kernel.org are mm-move-pte-table-reclaim-code-to-memoryc.patch mm-memory-handle-non-split-locks-correctly-in-zap_empty_pte_table.patch