How does linux detect a process which is hogging the CPU and should be removed rather than preempting?

31 views Asked by At

In a work queue, if a function is hogging the system(eg. running an infinite loop), how will the kernel know that it is hogging and it has to either preempt or cancel the work?

0

There are 0 answers