diff options
| author | Wang Yechao <wang.yechao255@zte.com.cn> | 2026-07-31 17:12:10 +0800 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-08-01 11:56:20 +0530 |
| commit | 98a1e65ca455d6366ca171dacdf1e3737f6fea14 (patch) | |
| tree | 4f0b591aab87e32d444399a693135296653a2007 /include/linux/workqueue_api.h | |
| parent | c67573b37c3522be2841d4530c1729c37ea89dcb (diff) | |
RISC-V: KVM: Add the eager_page_split module parameter
Add an eager_page_split module parameter for RISC-V KVM, following
the same approach as on x86. This parameter controls whether eager
page splitting is enabled. The default value is on.
When eager page splitting is enabled, KVM proactively splits large
pages (huge pages) into smaller pages when needed for dirty logging
or other operations. Disabling it can be beneficial for VM workloads
that rarely perform writes, or that only write to a small region of
memory, as it allows huge pages to remain intact for read accesses.
Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260731091215.1549430-6-wang.yechao255@zte.com.cn
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
