[Qemu-devel] PING^2 Re: [PATCH] KVM: always use MADV_DONTFORK

2013-08-30 Thread Paolo Bonzini
Il 06/08/2013 18:47, Paolo Bonzini ha scritto: > On 07/25/2013 12:11 PM, Andrea Arcangeli wrote: >> MADV_DONTFORK prevents fork to fail with -ENOMEM if the default >> overcommit heuristics decides there's too much anonymous virtual >> memory allocated. If the KVM secondary MMU is synchronized with

Re: [Qemu-devel] PING^2 Re: [PATCH] KVM: always use MADV_DONTFORK

2013-08-30 Thread Paolo Bonzini
Il 30/08/2013 18:21, Gleb Natapov ha scritto: > On Fri, Aug 30, 2013 at 06:03:42PM +0200, Paolo Bonzini wrote: >> Il 30/08/2013 17:52, Andreas Färber ha scritto: >>> OK. The patch is mislabelled as "KVM:" though putting this in a common >>> code path and touching exec.c only, so please put it on uq

Re: [Qemu-devel] PING^2 Re: [PATCH] KVM: always use MADV_DONTFORK

2013-08-30 Thread Paolo Bonzini
Il 30/08/2013 17:52, Andreas Färber ha scritto: > OK. The patch is mislabelled as "KVM:" though putting this in a common > code path and touching exec.c only, so please put it on uq/master and > fix that up before you set the history in stone. :) Well, touching exec.c is why I wasn't picking it up

Re: [Qemu-devel] PING^2 Re: [PATCH] KVM: always use MADV_DONTFORK

2013-08-30 Thread Gleb Natapov
On Fri, Aug 30, 2013 at 06:03:42PM +0200, Paolo Bonzini wrote: > Il 30/08/2013 17:52, Andreas Färber ha scritto: > > OK. The patch is mislabelled as "KVM:" though putting this in a common > > code path and touching exec.c only, so please put it on uq/master and > > fix that up before you set the hi

Re: [Qemu-devel] PING^2 Re: [PATCH] KVM: always use MADV_DONTFORK

2013-08-30 Thread Andreas Färber
Am 30.08.2013 17:48, schrieb Paolo Bonzini: > Il 06/08/2013 18:47, Paolo Bonzini ha scritto: >> On 07/25/2013 12:11 PM, Andrea Arcangeli wrote: >>> MADV_DONTFORK prevents fork to fail with -ENOMEM if the default >>> overcommit heuristics decides there's too much anonymous virtual >>> memory allocat