diff --git a/src/arch/smp/smpplugin.cpp b/src/arch/smp/smpplugin.cpp index 6d69bfbb3167813900ee3f88e9f6c52455c3be3f..c93e58a477d791f96868db2c949d2fcbec57229b 100644 --- a/src/arch/smp/smpplugin.cpp +++ b/src/arch/smp/smpplugin.cpp @@ -1079,12 +1079,6 @@ nanos::PE * smpProcessorFactory ( int id, int uid ) void SMPPlugin::createWorker( ext::SMPProcessor *target, std::map &workers ) { - /* Max threads will be either the max number of PEs - * or the requested --smp-threads in case of oversubscription */ - int max_threads = std::max( _requestedWorkers, _availableCPUs ); - fatal_cond( workers.size() >= static_cast(max_threads), - "Thread limit reached at " << max_threads << " threads" ); - NANOS_INSTRUMENT( sys.getInstrumentation()->incrementMaxThreads(); ) if ( !target->isActive() ) { target->setActive();