Home
last modified time | relevance | path

Searched hist:"223 b4d5c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Did_table.c223b4d5c Wed Nov 24 15:40:26 CST 2021 Christophe JAILLET <christophe.jaillet@wanadoo.fr> RDMA/cxgb4: Use non-atomic bitmap functions when possible

The accesses to the 'alloc->table' bitmap are protected by the
'alloc->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/0c1c4505ca32f5ba4126e3e324041da191513ef2.1637789139.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>