diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2012-10-26 16:01:08 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2012-10-26 16:01:08 +0000 |
commit | 36af98697d92141dcd4f4cca56da38a426ccb089 (patch) | |
tree | 842a8cfc3ef8239e42a28dbb369918bc9a00b13e /sys/sys/proc.h | |
parent | 6cff4e07c15477db7747f98dc7ecbedfe7563d40 (diff) | |
download | src-36af98697d92141dcd4f4cca56da38a426ccb089.tar.gz src-36af98697d92141dcd4f4cca56da38a426ccb089.zip |
Add CPU percentage limit enforcement to RCTL. The resouce name is "pcpu".
It was implemented by Rudolf Tomori during Google Summer of Code 2012.
Notes
Notes:
svn path=/head/; revision=242139
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r-- | sys/sys/proc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 0aae0cefefb3..567cb63bf410 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -584,6 +584,7 @@ struct proc { after fork. */ uint64_t p_prev_runtime; /* (c) Resource usage accounting. */ struct racct *p_racct; /* (b) Resource accounting. */ + u_char p_throttled; /* (c) Flag for racct pcpu throttling */ /* * An orphan is the child that has beed re-parented to the * debugger as a result of attaching to it. Need to keep |