Files
rocm-systems/runtime/hsa-runtime/core/runtime
Jonathan Kim 1f63ea3476 Fix export-close race during IPC attach request
If two attach requests to the same piece of shared memory occur,
a double export or premature dmabuf fd close can occur since the export
and close on demand calls are not atomic.

Use a reference counter on shared memory dmabuf FDs that have
already been opened to avoid this problem.

Change-Id: I14a59209c0385e32582af42a57b33b1c6838a9b1
2024-02-22 14:12:05 +00:00
..
2023-06-30 01:04:04 -04:00
2024-02-07 17:02:32 -05:00
2024-01-16 21:29:39 +00:00