Tweak comments.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6751d261c4
commit
9d2d111f78
@ -495,8 +495,8 @@ racct_destroy(struct racct **racct)
|
||||
}
|
||||
|
||||
/*
|
||||
* Increase consumption of 'resource' by 'amount' for 'racct'
|
||||
* and all its parents. Differently from other cases, 'amount' here
|
||||
* Increase consumption of 'resource' by 'amount' for 'racct',
|
||||
* but not its parents. Differently from other cases, 'amount' here
|
||||
* may be less than zero.
|
||||
*/
|
||||
static void
|
||||
|
@ -282,7 +282,7 @@ rctl_would_exceed(const struct proc *p, const struct rctl_rule *rule,
|
||||
}
|
||||
|
||||
/*
|
||||
* Special version of rctl_available() function for the %cpu resource.
|
||||
* Special version of rctl_get_available() for the %CPU resource.
|
||||
* We slightly cheat here and return less than we normally would.
|
||||
*/
|
||||
int64_t
|
||||
|
Loading…
Reference in New Issue
Block a user