On Mon, Jan 07, 2019 at 02:58:08PM +0800, Jason Wang wrote:
On 2019/1/5 äå5:41, Michael S. Tsirkin wrote:In that case how are you making sure used ring updates are written back?
On Sat, Dec 29, 2018 at 08:46:51PM +0800, Jason Wang wrote:
This series tries to access virtqueue metadata through kernel virtualI think it's a reasonable approach.
address instead of copy_user() friends since they had too much
overheads like checks, spec barriers or even hardware feature
toggling.
However I need to look at whether and which mmu notifiers are invoked before
writeback. Do you know?
I don't know but just looking at the MMU notifier ops definition, there's no
such callback if my understanding is correct.
Thanks
If they aren't guest will crash ...