Messages in this thread | | | Date | Tue, 12 Jun 2018 14:38:28 -0600 | From | Jason Gunthorpe <> | Subject | Re: [PATCH 1/2] IB/mad: Agent registration is process context only |
| |
On Fri, Jun 08, 2018 at 10:42:17AM -0700, Matthew Wilcox wrote: > From: Matthew Wilcox <mawilcox@microsoft.com> > > Document this (it's implicitly true due to sleeping operations already > in use in both registration and deregistration). Use this fact to use > spin_lock_irq instead of spin_lock_irqsave. This improves performance > slightly. > > Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com> > --- > drivers/infiniband/core/mad.c | 16 +++++++++------- > 1 file changed, 9 insertions(+), 7 deletions(-)
In the mean time, this patch is straightfoward, applied to the interm for-next..
Jason
| |