On Tue, 5 Sept 2023 at 10:13, Shameer Kolothum <shameerali.kolothum.thodi@xxxxxxxxxx> wrote: > > Now that we have Eager Page Split support added for ARM in the kernel, > enable it in Qemu. This adds, > -eager-split-size to -accel sub-options to set the eager page split chunk size. > -enable KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE. > > The chunk size specifies how many pages to break at a time, using a > single allocation. Bigger the chunk size, more pages need to be > allocated ahead of time. > > Reviewed-by: Gavin Shan <gshan@xxxxxxxxxx> > Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@xxxxxxxxxx> > --- > Changes: > v3: https://lore.kernel.org/qemu-devel/20230830114818.641-1-shameerali.kolothum.thodi@xxxxxxxxxx/ > -Added R-by by Gavin and replaced kvm_arm_eager_split_size_valid() > with a direct check. > v2: https://lore.kernel.org/qemu-devel/20230815092709.1290-1-shameerali.kolothum.thodi@xxxxxxxxxx/ > -Addressed commenst from Gavin. > RFC v1: https://lore.kernel.org/qemu-devel/20230725150002.621-1-shameerali.kolothum.thodi@xxxxxxxxxx/ > -Updated qemu-options.hx with description > -Addressed review comments from Peter and Gavin(Thanks). Applied to target-arm.next, thanks. -- PMM