[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 687733] [NEW] Linux KSM not compiled in (MADV_MERGEABL
From: |
Walter Haidinger |
Subject: |
[Qemu-devel] [Bug 687733] [NEW] Linux KSM not compiled in (MADV_MERGEABLE always undef) |
Date: |
Thu, 09 Dec 2010 09:18:26 -0000 |
Public bug reported:
Linux KSM support is not enabled because MADV_MERGEABLE remains undefined.
It seems that asm-generic/mman-common.h is not included. Maybe some kind of
header dependency problem?
Adding
#include <asm-generic/mman-common.h>
to exec.c of qemu-kvm-0.13.0 enables use of KSM and values change in
/sys/kernel/mm/ksm/.
Tested under CentOS 5.5 with custom kernel 2.6.32.26 and OpenSUSE 11.2 with
custom kernel 2.6.36.1, both x86_64 platform.
Please note that I configure with--kerneldir=/lib/modules/2.6.../build and even
--extra-cflags="-I/lib/modules/2.6.../build/include".
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/687733
Title:
Linux KSM not compiled in (MADV_MERGEABLE always undef)
Status in QEMU:
New
Bug description:
Linux KSM support is not enabled because MADV_MERGEABLE remains undefined.
It seems that asm-generic/mman-common.h is not included. Maybe some kind of
header dependency problem?
Adding
#include <asm-generic/mman-common.h>
to exec.c of qemu-kvm-0.13.0 enables use of KSM and values change in
/sys/kernel/mm/ksm/.
Tested under CentOS 5.5 with custom kernel 2.6.32.26 and OpenSUSE 11.2 with
custom kernel 2.6.36.1, both x86_64 platform.
Please note that I configure with--kerneldir=/lib/modules/2.6.../build and even
--extra-cflags="-I/lib/modules/2.6.../build/include".