Remove Check if fedora and inside kernel
It's completely unclear what this is supposed to do.
This commit is contained in:
@@ -195,11 +195,6 @@ void init_thread(int sched_runtime,
|
||||
char *name) {
|
||||
int settingPriority = 1;
|
||||
|
||||
if (checkIfFedoraDistribution())
|
||||
if (checkIfGenericKernelOnFedora())
|
||||
if (checkIfInsideContainer())
|
||||
settingPriority = 0;
|
||||
|
||||
if (settingPriority) {
|
||||
if (CPU_COUNT(cpuset) > 0)
|
||||
AssertFatal( 0 == pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), cpuset), "");
|
||||
|
||||
@@ -457,10 +457,6 @@ ldpc_interface_t ldpc_interface = {0}, ldpc_interface_offload = {0};
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int set_exe_prio = 1;
|
||||
if (checkIfFedoraDistribution())
|
||||
if (checkIfGenericKernelOnFedora())
|
||||
if (checkIfInsideContainer())
|
||||
set_exe_prio = 0;
|
||||
if (set_exe_prio)
|
||||
set_priority(79);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user