Changeset cfff639 for libcfa/src/concurrency/io.cfa
- Timestamp:
- Apr 24, 2021, 7:45:02 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- fb0be05
- Parents:
- 89eff25 (diff), 254ad1b (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
r89eff25 rcfff639 244 244 // Allocation was successful 245 245 __STATS__( true, io.alloc.fast += 1; ) 246 enable_interrupts( __cfaabi_dbg_ctx);246 enable_interrupts(); 247 247 248 248 __cfadbg_print_safe(io, "Kernel I/O : fast allocation successful from ring %d\n", ctx->fd); … … 256 256 // Fast path failed, fallback on arbitration 257 257 __STATS__( true, io.alloc.slow += 1; ) 258 enable_interrupts( __cfaabi_dbg_ctx);258 enable_interrupts(); 259 259 260 260 $io_arbiter * ioarb = proc->cltr->io.arbiter; … … 314 314 // Mark the instance as no longer in-use, re-enable interrupts and return 315 315 __STATS__( true, io.submit.fast += 1; ) 316 enable_interrupts( __cfaabi_dbg_ctx);316 enable_interrupts(); 317 317 318 318 __cfadbg_print_safe(io, "Kernel I/O : submitted on fast path\n"); … … 322 322 // Fast path failed, fallback on arbitration 323 323 __STATS__( true, io.submit.slow += 1; ) 324 enable_interrupts( __cfaabi_dbg_ctx);324 enable_interrupts(); 325 325 326 326 __cfadbg_print_safe(io, "Kernel I/O : falling back on arbiter for submission\n");
Note: See TracChangeset
for help on using the changeset viewer.