Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH V4 0/2] Add support for enhanced atomic operations
@ 2010-04-14 14:22 Vladimir Sokolovsky
  0 siblings, 0 replies; only message in thread
From: Vladimir Sokolovsky @ 2010-04-14 14:22 UTC (permalink / raw)
  To: rdreier-FYB4Gu1CFyUAvxtiuMwx3w; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

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 V3:
- patch #1: 
  Add a new capability masked_atomic_cap instead of using
  IB_DEVICE_MASKED_ATOMIC
- patch #2:
  Set props->masked_atomic_cap to IB_ATOMIC_HCA for mlx4

Note that all drivers clear props with memset except amso1100. So, no
need to define props->masked_atomic_cap to NONE for all drivers.
I will send a patch that fixes amso1100 issue.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-14 14:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-14 14:22 [PATCH V4 0/2] Add support for enhanced atomic operations Vladimir Sokolovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox