linux/drivers/infiniband/hw/vmw_pvrdma
Christophe JAILLET ecd68ef8d9 RDMA/pvrdma: Use non-atomic bitmap functions when possible
In 'pvrdma_uar_table_init()', the 'tbl->table' bitmap has just been
allocated, so no concurrent accesses can occur.

The other accesses to the 'tbl->table' bitmap are protected by the
'tbl->lock' spinlock, so no concurrent accesses can happen.

So prefer the non-atomic '__[set|clear]_bit()' functions to save a few
cycles.

Link: https://lore.kernel.org/r/271b0e2c316e2b4cf34ac6fbca0701edd2d882ec.1637870667.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-11-29 14:33:56 -04:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
pvrdma_cmd.c
pvrdma_cq.c RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC 2021-01-19 20:17:27 -04:00
pvrdma_dev_api.h RDMA/vmw_pvrdma: Use resource ids from physical device if available 2019-10-28 16:09:23 -03:00
pvrdma_doorbell.c RDMA/pvrdma: Use non-atomic bitmap functions when possible 2021-11-29 14:33:56 -04:00
pvrdma_main.c RDMA: switch from 'pci_' to 'dma_' API 2021-08-23 13:43:54 -03:00
pvrdma_misc.c RDMA/umem: Replace for_each_sg_dma_page with rdma_umem_for_each_dma_block 2020-09-09 15:33:17 -03:00
pvrdma_mr.c RDMA/umem: Split ib_umem_num_pages() into ib_umem_num_dma_blocks() 2020-09-11 10:24:53 -03:00
pvrdma_qp.c RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
pvrdma_ring.h IB/pvrdma: Remove unused function 2017-08-22 15:42:57 -04:00
pvrdma_srq.c RDMA: Check srq_type during create_srq 2020-10-26 19:27:58 -03:00
pvrdma_verbs.c RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
pvrdma_verbs.h RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
pvrdma.h RDMA: Delete not-used static inline functions 2021-03-22 09:31:19 -03:00