Lines 600-605
Link Here
|
600 |
if (p->p_state != PRS_NORMAL) |
600 |
if (p->p_state != PRS_NORMAL) |
601 |
continue; |
601 |
continue; |
602 |
|
602 |
|
|
|
603 |
if (rule->rr_amount == 0) { |
604 |
racct_proc_throttle(p, rctl_throttle_max); |
605 |
continue; |
606 |
} |
607 |
|
603 |
/* |
608 |
/* |
604 |
* Make the process sleep for a fraction of second |
609 |
* Make the process sleep for a fraction of second |
605 |
* proportional to the ratio of process' resource |
610 |
* proportional to the ratio of process' resource |