mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add comment explaining existing powerd behavior on SMP systems.
MFC after: 1 week
This commit is contained in:
parent
e5e85011ae
commit
0e2a18e657
1 changed files with 6 additions and 0 deletions
|
|
@ -127,6 +127,12 @@ static int devd_pipe = -1;
|
|||
#define DEVD_RETRY_INTERVAL 60 /* seconds */
|
||||
static struct timeval tried_devd;
|
||||
|
||||
/*
|
||||
* This function returns summary load of all CPUs. It was made so
|
||||
* intentionally to not reduce performance in scenarios when several
|
||||
* threads are processing requests as a pipeline -- running one at
|
||||
* a time on different CPUs and waiting for each other.
|
||||
*/
|
||||
static int
|
||||
read_usage_times(int *load)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue