qemu/include/system
Daniil Tatianin 13057e064a overcommit: introduce mem-lock=on-fault
Locking the memory without MCL_ONFAULT instantly prefaults any mmaped
anonymous memory with a write-fault, which introduces a lot of extra
overhead in terms of memory usage when all you want to do is to prevent
kcompactd from migrating and compacting QEMU pages. Add an option to
only lock pages lazily as they're faulted by the process by using
MCL_ONFAULT if asked.

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>
Link: https://lore.kernel.org/r/20250212143920.1269754-5-d-tatianin@yandex-team.ru
Signed-off-by: Peter Xu <peterx@redhat.com>
2025-02-12 11:36:13 -05:00
..
accel-blocker.h
accel-ops.h
arch_init.h
balloon.h
block-backend-common.h
block-backend-global-state.h
block-backend-io.h block: Improve blk_get_attached_dev_id() docstring 2025-02-06 13:59:00 +01:00
block-backend.h
block-ram-registrar.h
blockdev.h
confidential-guest-support.h
cpu-throttle.h
cpu-timers-internal.h
cpu-timers.h
cpus.h
cryptodev-vhost-user.h
cryptodev-vhost.h
cryptodev.h
device_tree.h
dirtylimit.h
dirtyrate.h
dma.h
dump-arch.h
dump.h
event-loop-base.h
host_iommu_device.h
hostmem.h
hvf.h
hvf_int.h
hw_accel.h
iommufd.h
iothread.h
kvm.h
kvm_int.h
kvm_xen.h
memory_mapping.h
numa.h
nvmm.h
os-posix.h os: add an ability to lock memory on_fault 2025-02-12 11:36:01 -05:00
os-win32.h os: add an ability to lock memory on_fault 2025-02-12 11:36:01 -05:00
qtest.h tests/qtest: rename qtest_send_prefix and roll-up into qtest_send 2025-02-10 13:47:58 +00:00
replay.h
reset.h
rng-random.h
rng.h
rtc.h
runstate-action.h
runstate.h
seccomp.h
spdm-socket.h
stats.h
system.h overcommit: introduce mem-lock=on-fault 2025-02-12 11:36:13 -05:00
tcg.h
tpm.h
tpm_backend.h
tpm_util.h
vhost-user-backend.h
watchdog.h
whpx.h
xen-mapcache.h
xen.h