Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
kvm
kvm-qemu-madvise-DONTFORK-for-tight-memory-migr...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kvm-qemu-madvise-DONTFORK-for-tight-memory-migration.patch of Package kvm
Index: qemu-kvm-0.15.0/exec.c =================================================================== --- qemu-kvm-0.15.0.orig/exec.c +++ qemu-kvm-0.15.0/exec.c @@ -2941,6 +2941,7 @@ ram_addr_t qemu_ram_alloc_from_ptr(Devic if (!new_block->host) { new_block->host = qemu_vmalloc(size); qemu_madvise(new_block->host, size, QEMU_MADV_MERGEABLE); + qemu_madvise(new_block->host, size, QEMU_MADV_DONTFORK); } #else fprintf(stderr, "-mem-path option unsupported\n"); @@ -2968,6 +2969,7 @@ ram_addr_t qemu_ram_alloc_from_ptr(Devic } #endif qemu_madvise(new_block->host, size, QEMU_MADV_MERGEABLE); + qemu_madvise(new_block->host, size, QEMU_MADV_DONTFORK); } } new_block->length = size;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor