mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
ba24b5ec78
Currently driver maintain one list for both pending user interrupts which seeks to wait till CQ reaches it's target value and also the ones that seeks to get timestamp records when the CQ reaches it's target value. This causes delay in handling the waiters which gets higher priority than the timestamp records. In order to solve this, let's split the list into two, one for each case and each one is protected by it's own spinlock. Waiters will be handled within the interrupt context first, then the timestamp records will be set. Freeing the timestamp related memory will be handled in a workqueue. Signed-off-by: farah kassabri <fkassabri@habana.ai> Reviewed-by: Tomer Tayar <ttayar@habana.ai> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> |
||
---|---|---|
.. | ||
common | ||
gaudi | ||
gaudi2 | ||
goya | ||
include | ||
Kconfig | ||
Makefile |