diff options
| author | Maxim Sobolev <sobomax@FreeBSD.org> | 2006-12-06 18:27:17 +0000 |
|---|---|---|
| committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2006-12-06 18:27:17 +0000 |
| commit | efa43a53bd57bb084d1e7b86d9c89022192565e1 (patch) | |
| tree | 7daea6c332cae5d30819932cee2a402537fe261e | |
| parent | ae6f6d9295eeabcb8a4c59ba2f7b752611a85e74 (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/machdep.c | 1 | ||||
| -rw-r--r-- | sys/i386/i386/machdep.c | 1 | ||||
| -rw-r--r-- | sys/pc98/pc98/machdep.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 348bfef78dc3..c7dd71f36c89 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -514,6 +514,7 @@ cpu_halt(void) * help lock contention somewhat, and this is critical for HTT. -Peter */ static int cpu_idle_hlt = 1; +TUNABLE_INT("machdep.cpu_idle_hlt", &cpu_idle_hlt); SYSCTL_INT(_machdep, OID_AUTO, cpu_idle_hlt, CTLFLAG_RW, &cpu_idle_hlt, 0, "Idle loop HLT enable"); diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 2dc54ecc5f50..ef64b95ecb0b 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -1112,6 +1112,7 @@ cpu_halt(void) * help lock contention somewhat, and this is critical for HTT. -Peter */ static int cpu_idle_hlt = 1; +TUNABLE_INT("machdep.cpu_idle_hlt", &cpu_idle_hlt); SYSCTL_INT(_machdep, OID_AUTO, cpu_idle_hlt, CTLFLAG_RW, &cpu_idle_hlt, 0, "Idle loop HLT enable"); diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 1bd8c251e0ae..7bc00801b91a 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -1109,6 +1109,7 @@ cpu_halt(void) * help lock contention somewhat, and this is critical for HTT. -Peter */ static int cpu_idle_hlt = 1; +TUNABLE_INT("machdep.cpu_idle_hlt", &cpu_idle_hlt); SYSCTL_INT(_machdep, OID_AUTO, cpu_idle_hlt, CTLFLAG_RW, &cpu_idle_hlt, 0, "Idle loop HLT enable"); |
