Re: [PATCH v1 0/2] powerpc/pseries/cmm: two smaller fixes
From: "David Hildenbrand (Red Hat)" <david@kernel.org>
Date: 2025-11-28 11:46:03
Also in:
linux-mm, lkml
From: "David Hildenbrand (Red Hat)" <david@kernel.org>
Date: 2025-11-28 11:46:03
Also in:
linux-mm, lkml
On 11/28/25 11:40, Ritesh Harjani (IBM) wrote:
"David Hildenbrand (Red Hat)" [off-list ref] writes:quoted
quoted
quoted
Right. Let me give it a try first with pseries Qemu. Otherwise I have an access to pseries LPAR too. I can verify it there.Ah, now I realize my problem: I tried with Fedora 43 in a powerpc VM but the modprobe didn't do anything. Looking again: # grep CONFIG_CMM /boot/config-6.17.1-300.fc43.ppc64le CONFIG_CMM=y So modprob'ing won't do as the module is built in.Right, so doing "cmm.simulate=1" on the cmdline in a Fedora 43 VMs properly creates the CMM device.Right verifying using simulate mode is very straightforward. Thanks for that! So.. using various random echo X > simulate_loan_target_kb on a VM... ~# cat /proc/vmstat |grep balloon nr_balloon_pages 16 balloon_inflate 1638 balloon_deflate 1622 balloon_migrate 4
Thanks a bunch for the review and testing! -- Cheers David