Files
FairMQ/fairmq
Claude f1312aefe3 fix(shmem): release region blocks of reused messages to their own region
- Remove the `fRegionPtr` member of `shmem::Message`. It cached the
  region of the last `GetData()`, `GetRefCount()` or `Copy()` call.
  `Rebuild()` and `Socket::Receive()` did not reset it.
- When a message received a block of region A, was read, rebuilt, and
  then received a block of region B, its release went to region A.
  Region A got a wrong callback and region B never got its block back.
- Look up the region with `Manager::GetRegionFromCache()` where it is
  needed. The lookup is a thread-local fast path.
- `sizeof(shmem::Message)` goes from 80 to 72 bytes on LP64.

Refs: #477

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:11:03 +01:00
..
2024-02-19 22:09:54 +01:00
2022-08-12 01:50:14 +02:00
2025-01-07 17:41:30 +01:00
2025-01-07 17:41:30 +01:00
2023-03-03 12:49:37 +01:00
2021-01-25 13:46:40 +01:00
2025-01-07 17:41:30 +01:00
2022-01-24 06:40:24 +01:00
2019-07-10 19:35:18 +02:00
2024-05-23 15:54:24 +02:00
2021-01-25 13:46:40 +01:00
2021-01-25 13:46:40 +01:00
2025-01-07 17:41:30 +01:00
2025-01-07 17:41:30 +01:00
2025-01-07 17:41:30 +01:00
2025-01-09 17:09:57 +01:00