[pve-devel] pve-kernel from repos more recent that proxmox git ?
    Alexandre DERUMIER 
    aderumier at odiso.com
       
    Tue Apr 10 08:36:59 CEST 2012
    
    
  
Hi, I didn't know for madvise.
I found this bug from redhat, they have remove madvise, but I don't know why
https://bugzilla.redhat.com/show_bug.cgi?id=636116
So I understand, with madvise, only application which support madvise can use it ?
So kvm support it but not openvz,vzdump or other process which can hang.
I could be a great solution. I'll try to find why redhat remove it....
- Alexandre
----- Mail original ----- 
De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 10 Avril 2012 07:51:38 
Objet: RE: [pve-devel] pve-kernel from repos more recent that proxmox git ? 
> > > >> Maybe a stupid question, but can't we enable that only for KVM 
> processes? 
> > > I don't think it's possible. It's enable for the whole system. 
> > 
> > So why is there a MADV_HUGEPAGE flag? 
> > 
> > http://man7.org/linux/man-pages/man2/madvise.2.html 
> > 
> > We need to figure that out. 
> 
> Seems newer kernels have 3 options: 'always', 'never' and 'madvise' 
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=mm/huge_ 
> memory.c;h=f0e5306eeb55e8e179da3abbe6c033045b6ad073;hb=HEAD 
> 
> - Dietmar 
Here is the corresponding commit: 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=13ece886d99cd668483113f7238e419d5331af26 
- Dietmar 
-- 
-- 
	Alexandre D erumier 
Ingénieur Système 
Fixe : 03 20 68 88 90 
Fax : 03 20 68 90 81 
45 Bvd du Général Leclerc 59100 Roubaix - France 
12 rue Marivaux 75002 Paris - France 
	
    
    
More information about the pve-devel
mailing list