Skip to contentSkip to conversation

Add support for enhanced atomic operations

PATCH Superseded Vladimir Sokolovsky 1 participant 1 message Feb 14, 2010 InfiniBand

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add support for enhanced atomic operations

Hi Roland,

This patchset adds support for the following enhanced atomic operations:
- Masked atomic compare and swap
- Masked atomic fetch and add

These operations enable using a smaller amount of memory when using multiple locks by using portions of a 64 bit value in an atomic operation. For some applications the memory savings are very significant. One example is fine grain lock implementations for huge data sets. In other cases, the benefit is the ability to update multiple fields with a single io operation.

Vladimir Sokolovsky(2):
IB/core: Add support for enhanced atomic operations mlx4/IB: Add support for enhanced atomic operations

changes from V1:
- patch #1: fix the ability to check for a receive by testing opcode & IB_WC_RECV

Regards,
Vladimir
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html