Ignore:
File:
1 edited

Legend:

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

    r7ce8873 r2af1943  
    229229                #if !defined(CFA_WITH_IO_URING_IDLE)
    230230                        // Step 4 : eventfd
     231                        // io_uring_register is so f*cking slow on some machine that it
     232                        // will never succeed if preemption isn't hard blocked
    231233                        __cfadbg_print_safe(io_core, "Kernel I/O : registering %d for completion with ring %d\n", procfd, fd);
    232234
     
    238240                        __cfadbg_print_safe(io_core, "Kernel I/O : registered %d for completion with ring %d\n", procfd, fd);
    239241                #endif
    240 
    241                 // #if defined(CFA_HAVE_IORING_REGISTER_IOWQ_MAX_WORKERS)
    242                 //      // Step 5 : max worker count
    243                 //      __cfadbg_print_safe(io_core, "Kernel I/O : lmiting max workers for ring %d\n", fd);
    244 
    245                 //      unsigned int maxes[2];
    246                 //      maxes[0] = 64; // max number of bounded workers (Regular files / block)
    247                 //      maxes[1] = 64;  // max number of unbounded workers (IOSQE_ASYNC)
    248                 //      int ret = syscall( __NR_io_uring_register, fd, IORING_REGISTER_IOWQ_MAX_WORKERS, maxes, 2);
    249                 //      if (ret < 0) {
    250                 //              abort("KERNEL ERROR: IO_URING MAX WORKER REGISTER - %s\n", strerror(errno));
    251                 //      }
    252 
    253                 //      __cfadbg_print_safe(io_core, "Kernel I/O : lmited max workers for ring %d\n", fd);
    254                 // #endif
    255242
    256243                // some paranoid checks
     
    359346        }
    360347
    361         void ^?{}( $io_arbiter & this ) {}
     348        void ^?{}( $io_arbiter & mutex this ) {}
    362349
    363350        $io_arbiter * create(void) {
Note: See TracChangeset for help on using the changeset viewer.