search for: madv_mergeable

Displaying 5 results from an estimated 5 matches for "madv_mergeable".

2011 Aug 23
0
qemu-kvm-0.15 + CentOS 5.6 + vanilla 2.6.35.14 (working, patch included)
...ches/nautilus-dropbox-0.6.3-puias.patch --- qemu-kvm-0.15.0/exec.c.orig 2011-08-19 11:36:04.000000000 +0200 +++ qemu-kvm-0.15.0/exec.c 2011-08-19 11:36:35.000000000 +0200 @@ -72,6 +72,15 @@ //#define DEBUG_IOPORT //#define DEBUG_SUBPAGE +#include <asm-generic/mman-common.h> +#ifndef MADV_MERGEABLE +#error MADV_MERGEABLE +#endif + +#ifndef QEMU_MADV_MERGEABLE +#error QEMU_MADV_MERGEABLE +#endif + #if !defined(CONFIG_USER_ONLY) /* TB consistency checks only implemented for usermode emulation. */ #undef DEBUG_TB_CHECK --- qemu-kvm-0.15.0/qemu-common.h.orig 2011-08-19 11:34:22.000000000 +0...
2017 Jul 31
5
[PATCH] mm: don't zero ballooned pages
On 07/31/2017 02:55 PM, Michal Hocko wrote: > On Mon 31-07-17 12:13:33, Wei Wang wrote: >> Ballooned pages will be marked as MADV_DONTNEED by the hypervisor and >> shouldn't be given to the host ksmd to scan. > Could you point me where this MADV_DONTNEED is done, please? Sure. It's done in the hypervisor when the balloon pages are received. Please see line 40 at
2017 Jul 31
5
[PATCH] mm: don't zero ballooned pages
On 07/31/2017 02:55 PM, Michal Hocko wrote: > On Mon 31-07-17 12:13:33, Wei Wang wrote: >> Ballooned pages will be marked as MADV_DONTNEED by the hypervisor and >> shouldn't be given to the host ksmd to scan. > Could you point me where this MADV_DONTNEED is done, please? Sure. It's done in the hypervisor when the balloon pages are received. Please see line 40 at
2017 Jul 31
0
[PATCH] mm: don't zero ballooned pages
...VM_MERGEABLE and that is an opt in: > >See Documentation/vm/ksm.txt > >" > >KSM only operates on those areas of address space which an application > >has advised to be likely candidates for merging, by using the madvise(2) > >system call: int madvise(addr, length, MADV_MERGEABLE). > >" > > > >So what exactly is going on here? The original patch looks highly > >suspicious as well. If somebody wants to make that memory mergable then > >the user of that memory should zero them out. > > Kernel starts a kthread named "ksmd". k...
2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
Hi all, this is the long awaited patch series to add xen device model support in qemu; the main author is Anthony Perard. Developing this series we tried to come up with the cleanest possible solution from the qemu point of view, limiting the amount of changes to common code as much as possible. The end result still requires a couple of hooks in piix_pci but overall the impact should be very