[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 2/6] memory: make global_dirty_tracking a bitmask
From: |
Peter Xu |
Subject: |
Re: [PATCH v8 2/6] memory: make global_dirty_tracking a bitmask |
Date: |
Fri, 18 Jun 2021 12:42:03 -0400 |
On Sat, Jun 19, 2021 at 12:16:49AM +0800, Hyman wrote:
>
>
> 在 2021/6/18 23:46, Peter Xu 写道:
> > On Fri, Jun 18, 2021 at 11:32:03PM +0800, huangy81@chinatelecom.cn wrote:
> > > diff --git a/include/exec/memory.h b/include/exec/memory.h
> > > index b114f54..dd2404f 100644
> > > --- a/include/exec/memory.h
> > > +++ b/include/exec/memory.h
> > > @@ -55,7 +55,17 @@ static inline void fuzz_dma_read_cb(size_t addr,
> > > }
> > > #endif
> > > -extern bool global_dirty_log;
> > > +/* Possible bits for global_dirty_log */
> >
> > s/log/tracking/
> here, we just rename global_dirty_log to global_dirty_tracking, but the
> function name remain the same? such as:
> memory_global_dirty_log_start/memory_global_dirty_log_stop
Then you may want to write it as:
/* Possible bits for memory_global_dirty_log_{start|stop} */
It's a trivial nitpicking, I don't have a strong opinion here.. Before any
other's comments, please feel free to choose anything. Thanks,
--
Peter Xu
- [PATCH v8 0/6] support dirtyrate at the granualrity of vcpu, huangy81, 2021/06/18
- [PATCH v8 4/6] migration/dirtyrate: adjust order of registering thread, huangy81, 2021/06/18
- [PATCH v8 3/6] migration/dirtyrate: introduce struct and adjust DirtyRateStat, huangy81, 2021/06/18
- [PATCH v8 5/6] migration/dirtyrate: move init step of calculation to main thread, huangy81, 2021/06/18
- [PATCH v8 6/6] migration/dirtyrate: implement dirty-ring dirtyrate calculation, huangy81, 2021/06/18
- Re: [PATCH v8 0/6] support dirtyrate at the granualrity of vcpu, Peter Xu, 2021/06/18