Re: [PATCH net] vhost: flush dcache page when logging dirty pages

2019-04-10 Thread Jason Wang
On 2019/4/9 下午9:14, Michael S. Tsirkin wrote: On Tue, Apr 09, 2019 at 12:16:47PM +0800, Jason Wang wrote: We set dirty bit through setting up kmaps and access them through kernel virtual address, this may result alias in virtually tagged caches that require a dcache flush afterwards. Cc: Chris

Re: [PATCH net] vhost: flush dcache page when logging dirty pages

2019-04-09 Thread Michael S. Tsirkin
On Tue, Apr 09, 2019 at 12:16:47PM +0800, Jason Wang wrote: > We set dirty bit through setting up kmaps and access them through > kernel virtual address, this may result alias in virtually tagged > caches that require a dcache flush afterwards. > > Cc: Christoph Hellwig > Cc: James Bottomley > C

[PATCH net] vhost: flush dcache page when logging dirty pages

2019-04-08 Thread Jason Wang
We set dirty bit through setting up kmaps and access them through kernel virtual address, this may result alias in virtually tagged caches that require a dcache flush afterwards. Cc: Christoph Hellwig Cc: James Bottomley Cc: Andrea Arcangeli Fixes: 3a4d5c94e9593 ("vhost_net: a kernel-level virt