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:
revīziju iesūtīja
GitHub
vecāks
7e20e8ec13
revīzija
4f075902fc
@@ -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
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user