]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/pseries/cmm: adjust BALLOON_MIGRATE when migrating pages
authorDavid Hildenbrand <david@redhat.com>
Mon, 5 Jan 2026 17:42:05 +0000 (12:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:15:05 +0000 (10:15 +0100)
commita219c54a15c4282652471222cfd470ff69f2bdfb
tree6a4c9e8015fea4aea74fbe4a7b1417c6b3882ede
parent1d71d509b413e7ee7a46e4c9eb7509fafad3ab7d
powerpc/pseries/cmm: adjust BALLOON_MIGRATE when migrating pages

[ Upstream commit 0da2ba35c0d532ca0fe7af698b17d74c4d084b9a ]

Let's properly adjust BALLOON_MIGRATE like the other drivers.

Note that the INFLATE/DEFLATE events are triggered from the core when
enqueueing/dequeueing pages.

This was found by code inspection.

Link: https://lkml.kernel.org/r/20251021100606.148294-3-david@redhat.com
Fixes: fe030c9b85e6 ("powerpc/pseries/cmm: Implement balloon compaction")
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/pseries/cmm.c