Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/io.cfa

    rfe9468e2 r8fc652e0  
    160160        static inline void process(struct io_uring_cqe & cqe ) {
    161161                struct io_future_t * future = (struct io_future_t *)(uintptr_t)cqe.user_data;
    162                 __cfadbg_print_safe( io, "Kernel I/O : Syscall completed : cqe %p, result %d for %p\n", &cqe, cqe.res, future );
     162                __cfadbg_print_safe( io, "Kernel I/O : Syscall completed : cqe %p, result %d for %p\n", future, cqe.res, data->thrd );
    163163
    164164                fulfil( *future, cqe.res );
     
    298298                __u32 mask = *ring.submit_q.mask;
    299299
    300                 __u32 off = thread_rand();
     300                disable_interrupts();
     301                        __u32 off = __tls_rand();
     302                enable_interrupts( __cfaabi_dbg_ctx );
    301303
    302304                // Loop around looking for an available spot
     
    342344                __u32 ready_mask = ring.submit_q.ready_cnt - 1;
    343345
    344                 __u32 off = thread_rand();
     346                disable_interrupts();
     347                        __u32 off = __tls_rand();
     348                enable_interrupts( __cfaabi_dbg_ctx );
    345349
    346350                __u32 picked;
Note: See TracChangeset for help on using the changeset viewer.