summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2018-06-08 10:42:17 -0700
committerJason Gunthorpe <jgg@mellanox.com>2018-06-18 11:09:05 -0600
commit0c271c433ca2f481ccf5e9a5645a2ec071188c19 (patch)
treef97fd70fc9b44db1aa3bb31eaaa4e1d5ef9dedbb /tools
parent7f3ee8e030d851fdb0eace00cc5ceb294238c1b8 (diff)
downloadlinux-0c271c433ca2f481ccf5e9a5645a2ec071188c19.tar.gz
linux-0c271c433ca2f481ccf5e9a5645a2ec071188c19.zip
IB/mad: Agent registration is process context only
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> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions