Changes in / [2fc94ced:0376da9]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io.cfa
r2fc94ced r0376da9 216 216 // adjust the size according to the parameters 217 217 if ((params.features & IORING_FEAT_SINGLE_MMAP) != 0) { 218 cq ->ring_sz = sq->ring_sz = max(cq->ring_sz, sq->ring_sz);218 cq.ring_sz = sq.ring_sz = max(cq.ring_sz, sq.ring_sz); 219 219 } 220 220 #endif … … 230 230 // mmap the Completion Queue into existence (may or may not be needed) 231 231 if ((params.features & IORING_FEAT_SINGLE_MMAP) != 0) { 232 cq ->ring_ptr = sq->ring_ptr;232 cq.ring_ptr = sq.ring_ptr; 233 233 } 234 234 else … … 440 440 static [int, bool] __drain_io( & struct __io_data ring, * sigset_t mask, int waitcnt, bool in_kernel ) { 441 441 /* paranoid */ verify( !kernelTLS.preemption_state.enabled ); 442 const uint32_t smask = *ring.submit_q.mask;443 442 444 443 unsigned to_submit = 0;
Note: See TracChangeset
for help on using the changeset viewer.