mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
Remove recently added note about DEVICE_POLLING not working with SMP.
Remove warning from kern_poll.c to allow DEVICE_POLLING to be built with SMP. Discussed with: ru, glebius
This commit is contained in:
parent
ac8671f18f
commit
183a16a3ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142517
@ -74,7 +74,6 @@ cpu HAMMER # aka K8, aka Opteron & Athlon64
|
||||
# accurate scheduling of the CPU time between kernel network processing
|
||||
# and other activities. The drawback is a moderate (up to 1/HZ seconds)
|
||||
# potential increase in response times.
|
||||
# DEVICE_POLLING does not work with SMP.
|
||||
# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
|
||||
# to achieve smoother behaviour.
|
||||
# Additionally, you can enable/disable polling at runtime with the
|
||||
|
@ -229,7 +229,6 @@ options PERFMON
|
||||
# potential increase in response times.
|
||||
# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
|
||||
# to achieve smoother behaviour.
|
||||
# DEVICE_POLLING does not work with SMP.
|
||||
# Additionally, you can enable/disable polling at runtime with the
|
||||
# sysctl variable kern.polling.enable (defaults off), and select
|
||||
# the CPU fraction reserved to userland with the sysctl variable
|
||||
|
@ -41,12 +41,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/resourcevar.h>
|
||||
#include <sys/kthread.h>
|
||||
|
||||
#ifdef SMP
|
||||
#ifndef COMPILING_LINT
|
||||
#error DEVICE_POLLING is not compatible with SMP
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static void netisr_poll(void); /* the two netisr handlers */
|
||||
static void netisr_pollmore(void);
|
||||
|
||||
|
@ -196,7 +196,6 @@ options PERFMON
|
||||
# potential increase in response times.
|
||||
# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
|
||||
# to achieve smoother behaviour.
|
||||
# DEVICE_POLLING does not work with SMP.
|
||||
# Additionally, you can enable/disable polling at runtime with the
|
||||
# sysctl variable kern.polling.enable (defaults off), and select
|
||||
# the CPU fraction reserved to userland with the sysctl variable
|
||||
|
Loading…
Reference in New Issue
Block a user