Changeset 59f74a2 for libcfa/src
- Timestamp:
- Jul 10, 2020, 2:18:11 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 365e423
- Parents:
- 20ab637 (diff), 0376da9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io.cfa
r20ab637 r59f74a2 218 218 // adjust the size according to the parameters 219 219 if ((params.features & IORING_FEAT_SINGLE_MMAP) != 0) { 220 cq ->ring_sz = sq->ring_sz = max(cq->ring_sz, sq->ring_sz);220 cq.ring_sz = sq.ring_sz = max(cq.ring_sz, sq.ring_sz); 221 221 } 222 222 #endif … … 232 232 // mmap the Completion Queue into existence (may or may not be needed) 233 233 if ((params.features & IORING_FEAT_SINGLE_MMAP) != 0) { 234 cq ->ring_ptr = sq->ring_ptr;234 cq.ring_ptr = sq.ring_ptr; 235 235 } 236 236 else … … 494 494 static [int, bool] __drain_io( & struct __io_data ring, * sigset_t mask ) { 495 495 /* paranoid */ verify( !kernelTLS.preemption_state.enabled ); 496 const uint32_t smask = *ring.submit_q.mask;497 496 498 497 unsigned to_submit = 0;
Note: See TracChangeset
for help on using the changeset viewer.