mirror of https://github.com/torvalds/linux.git
Enable ring-based dirty memory tracking on riscv: - Enable CONFIG_HAVE_KVM_DIRTY_RING_ACQ_REL as riscv is weakly ordered. - Set KVM_DIRTY_LOG_PAGE_OFFSET for the ring buffer's physical page offset. - Add a check to kvm_vcpu_kvm_riscv_check_vcpu_requests for checking whether the dirty ring is soft full. To handle vCPU requests that cause exits to userspace, modified the `kvm_riscv_check_vcpu_requests` to return a value (currently only returns 0 or 1). Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20e116efb1f7aff211dd8e3cf8990c5521ed5f34.1749810735.git.zhouquan@iscas.ac.cn Signed-off-by: Anup Patel <anup@brainfault.org> |
||
|---|---|---|
| .. | ||
| vendor | ||
| Kbuild | ||
| auxvec.h | ||
| bitsperlong.h | ||
| bpf_perf_event.h | ||
| byteorder.h | ||
| elf.h | ||
| hwcap.h | ||
| hwprobe.h | ||
| kvm.h | ||
| perf_regs.h | ||
| ptrace.h | ||
| setup.h | ||
| sigcontext.h | ||
| ucontext.h | ||
| unistd.h | ||