Ignore:
Timestamp:
Nov 10, 2022, 12:17:20 PM (18 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
639e4fc
Parents:
6a4ef0c
Message:

Removed wait-with-io_uring feature which was slow, broken and ifdefed out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/startup.cfa

    r6a4ef0c ra757ba1  
    115115KERNEL_STORAGE(thread$,              mainThread);
    116116KERNEL_STORAGE(__stack_t,            mainThreadCtx);
    117 // KERNEL_STORAGE(__scheduler_RWLock_t, __scheduler_lock);
    118 KERNEL_STORAGE(eventfd_t,            mainIdleEventFd);
    119 KERNEL_STORAGE(io_future_t,          mainIdleFuture);
    120117#if !defined(__CFA_NO_STATISTICS__)
    121118KERNEL_STORAGE(__stats_t, mainProcStats);
     
    235232        (*mainProcessor){};
    236233
    237         mainProcessor->idle_wctx.rdbuf = &storage_mainIdleEventFd;
    238         mainProcessor->idle_wctx.ftr   = (io_future_t*)&storage_mainIdleFuture;
    239         /* paranoid */ verify( sizeof(storage_mainIdleEventFd) == sizeof(eventfd_t) );
    240 
    241234        __cfa_io_start( mainProcessor );
    242235        register_tls( mainProcessor );
     
    384377        register_tls( proc );
    385378
    386         // used for idle sleep when io_uring is present
    387         io_future_t future;
    388         eventfd_t idle_buf;
    389         proc->idle_wctx.ftr = &future;
    390         proc->idle_wctx.rdbuf = &idle_buf;
     379        // io_future_t future;
     380        // eventfd_t idle_buf;
     381        // proc->idle_wctx.ftr = &future;
     382        // proc->idle_wctx.rdbuf = &idle_buf;
    391383
    392384
Note: See TracChangeset for help on using the changeset viewer.