Commit 37d8bad
KVM: Remove obsolete comment about locking for kvm_io_bus_read/write
Nobody is actually calling these functions with slots_lock held, The
srcu_dereference() in kvm_io_bus_read/write() precisely communicates
both what is being protected, and what provides the protection. so the
comments are no longer needed
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Li RongQing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>1 parent 54a1a24 commit 37d8bad
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5765 | 5765 | | |
5766 | 5766 | | |
5767 | 5767 | | |
5768 | | - | |
5769 | 5768 | | |
5770 | 5769 | | |
5771 | 5770 | | |
| |||
5786 | 5785 | | |
5787 | 5786 | | |
5788 | 5787 | | |
5789 | | - | |
5790 | 5788 | | |
5791 | 5789 | | |
5792 | 5790 | | |
| |||
5836 | 5834 | | |
5837 | 5835 | | |
5838 | 5836 | | |
5839 | | - | |
5840 | 5837 | | |
5841 | 5838 | | |
5842 | 5839 | | |
| |||
0 commit comments