Re: [PATCH v7 6/6] memory: Introduce address_space_to_flatview_rcu()

2023-03-13 Thread Chuang Xu
Hi, Peter, On 2023/3/10 下午11:08, Peter Xu wrote: On Fri, Mar 10, 2023 at 10:24:25AM +0800, Chuang Xu wrote: In last patch, we wrap vm_load with begin/commit, here we introduce address_space_to_flatview_rcu() to avoid unnecessary enforce commit during vm_load. Signed-off-by: Chuang Xu --- in

Re: [PATCH v7 6/6] memory: Introduce address_space_to_flatview_rcu()

2023-03-10 Thread Peter Xu
On Fri, Mar 10, 2023 at 10:24:25AM +0800, Chuang Xu wrote: > In last patch, we wrap vm_load with begin/commit, here we introduce > address_space_to_flatview_rcu() to avoid unnecessary enforce commit > during vm_load. > > Signed-off-by: Chuang Xu > --- > include/exec/memory-internal.h | 2 +- >

[PATCH v7 6/6] memory: Introduce address_space_to_flatview_rcu()

2023-03-09 Thread Chuang Xu
In last patch, we wrap vm_load with begin/commit, here we introduce address_space_to_flatview_rcu() to avoid unnecessary enforce commit during vm_load. Signed-off-by: Chuang Xu --- include/exec/memory-internal.h | 2 +- include/exec/memory.h | 20 softmmu/memory.c