]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8987230d988c122b3e47b7033a2a917935a4179a
treebec4b48c66ea6263469a3d37959a35d4b33dd20e
parentefe9cf6542f9d3e794dbc2fcb12c11bc7df73a74
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