Chen Gang <gang.chen.5...@gmail.com> writes: > 'encoded_buf' and 'current_buf' are lock protected during using in > save_xbzrle_page() in ram_save_page(), and during freeing in > migration_end(). > > So recommend to let them lock protected during starting, just like we > have done to 'cache'.
I'd recommend against routing locking patches through -trivial. The code has maintainers, and you cc'ed them.