Re: [Qemu-devel] [PATCH v2] vl: Adjust the place of calling mlockall to speedup VM's startup

2014-09-27 Thread zhanghailiang
On 2014/9/26 23:35, Paolo Bonzini wrote: Il 26/09/2014 10:35, zhanghailiang ha scritto: Hi, This has been reviewed, Will anyone pick this up?;) I think mst will. It's Jewish new year this week, so it will have to wait for next week. OK, Thanks;) Best Regard, zhanghailiang Paolo Thanks,

Re: [Qemu-devel] [PATCH v2] vl: Adjust the place of calling mlockall to speedup VM's startup

2014-09-26 Thread Paolo Bonzini
Il 26/09/2014 10:35, zhanghailiang ha scritto: > Hi, > > This has been reviewed, Will anyone pick this up?;) I think mst will. It's Jewish new year this week, so it will have to wait for next week. Paolo > Thanks, > zhanghailiang > On 2014/9/23 18:42, zhanghailiang wrote: >> If we configure ml

Re: [Qemu-devel] [PATCH v2] vl: Adjust the place of calling mlockall to speedup VM's startup

2014-09-26 Thread zhanghailiang
Hi, This has been reviewed, Will anyone pick this up?;) Thanks, zhanghailiang On 2014/9/23 18:42, zhanghailiang wrote: If we configure mlock=on and memory policy=bind at the same time, It will consume lots of time for system to treat with memory, especially when call mbind behind mlockall. Adj

[Qemu-devel] [PATCH v2] vl: Adjust the place of calling mlockall to speedup VM's startup

2014-09-23 Thread zhanghailiang
If we configure mlock=on and memory policy=bind at the same time, It will consume lots of time for system to treat with memory, especially when call mbind behind mlockall. Adjust the place of calling mlockall, calling mbind before mlockall can remarkably reduce the time of VM's startup. Acked-by: