misc: vmw_vmci: Switch to kvfree_rcu() API
authorUladzislau Rezki (Sony) <urezki@gmail.com>
Wed, 15 Dec 2021 11:18:42 +0000 (12:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Dec 2021 09:25:15 +0000 (10:25 +0100)
commit6da3f33770e08348691d90455ef6149e15551854
treebec4b48c66ea6263469a3d37959a35d4b33dd20e
parent6d1e4927dedf5bf8998759961e3b28b967321cdd
misc: vmw_vmci: Switch to kvfree_rcu() API

Instead of invoking a synchronize_rcu() to free a pointer
after a grace period we can directly make use of new API
that does the same but in more efficient way.

Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Link: https://lore.kernel.org/r/20211215111845.2514-6-urezki@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/vmw_vmci/vmci_context.c
drivers/misc/vmw_vmci/vmci_event.c