SWDEV-555347 - Remove lock contention in async events loop (#878)

* SWDEV-555347 - Remove lock contention in async events loop

* SWDEV-555347 - Introduce Pool of AsyncEventItems

* create generic mempool for AsyncEventItem

* Use BaseShared allocate and free for async event pool

---------

Co-authored-by: Rahul Manocha <rmanocha@amd.com>
Šī revīzija ir iekļauta:
Rahul Manocha
2025-10-24 08:43:00 -07:00
revīziju iesūtīja GitHub
vecāks 7e20e8ec13
revīzija 4f075902fc
5 mainīti faili ar 451 papildinājumiem un 22 dzēšanām
@@ -168,6 +168,7 @@ void HostQueue::finish(bool cpu_wait) {
command = getLastQueuedCommand(true);
if (command == nullptr) {
ClPrint(LOG_DEBUG, LOG_CMD, "No command awaiting completion on host");
return;
}
// Force blocking wait if requested. That allows to avoid a build up of unreleased CPU commands