Skip to content
Snippets Groups Projects
Commit a7a20376 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'cqe-batch-count' into 'master'

[IoContext] Remove duplicate CQE_BATCH_COUNT delcaration and definition

See merge request i4/manycore/emper!233
parents 4b3b10d5 904357fb
No related branches found
No related tags found
No related merge requests found
......@@ -213,9 +213,6 @@ template void IoContext::submitAndWait<CallerEnvironment::ANYWHERE>(Future &futu
template <CallerEnvironment callerEnvironment>
auto IoContext::reapCompletions(ContinuationBuffer &continuationFibers) -> unsigned {
// Should not be more than the uring_entries count.
const unsigned CQE_BATCH_COUNT = EMPER_IO_WORKER_URING_ENTRIES;
unsigned reReapCount = 0;
uint32_t maxRaceFreeCompleterAttempts = 1;
......
......@@ -300,6 +300,7 @@ class IoContext : public Logger<LogSubsystem::IO> {
reapAndScheduleCompletions();
}
// Should not be more than the uring_entries count.
static const unsigned CQE_BATCH_COUNT = EMPER_IO_WORKER_URING_ENTRIES;
using ContinuationBuffer = std::array<Fiber *, CQE_BATCH_COUNT>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment