Page MenuHomeFreeBSD

D27858.diff
No OneTemporary

D27858.diff

diff --git a/sys/kern/kern_rctl.c b/sys/kern/kern_rctl.c
--- a/sys/kern/kern_rctl.c
+++ b/sys/kern/kern_rctl.c
@@ -600,6 +600,11 @@
if (p->p_state != PRS_NORMAL)
continue;
+ if (rule->rr_amount == 0) {
+ racct_proc_throttle(p, rctl_throttle_max);
+ continue;
+ }
+
/*
* Make the process sleep for a fraction of second
* proportional to the ratio of process' resource

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 6, 5:21 AM (21 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13707039
Default Alt Text
D27858.diff (403 B)

Event Timeline