Messages in this thread | | | From | Michael Kelley <> | Subject | RE: [PATCH 02/11] Drivers: hv: vmbus: Don't bind the offer&rescind works to a specific CPU | Date | Fri, 10 Apr 2020 17:23:10 +0000 |
| |
From: Andrea Parri (Microsoft) <parri.andrea@gmail.com> Sent: Sunday, April 5, 2020 5:15 PM > > The offer and rescind works are currently scheduled on the so called > "connect CPU". However, this is not really needed: we can synchronize > the works by relying on the usage of the offer_in_progress counter and > of the channel_mutex mutex. This synchronization is already in place. > So, remove this unnecessary "bind to the connect CPU" constraint and > update the inline comments accordingly. > > Suggested-by: Dexuan Cui <decui@microsoft.com> > Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com> > --- > drivers/hv/channel_mgmt.c | 21 ++++++++++++++++----- > drivers/hv/vmbus_drv.c | 39 ++++++++++++++++++++++++++++----------- > 2 files changed, 44 insertions(+), 16 deletions(-) >
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
| |