From bd196698550e6e13d75724cdd199fc5dcd7652e0 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Tue, 14 Oct 2003 18:39:36 +0000 Subject: [PATCH] Change default for kern.polling.idle_poll back to 1. This was set to 0 because Luigi observed livelock but in recent testing it did not occur so I'm re-enabling it by default. Reviewed by: luigi --- sys/kern/kern_poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c index b5e657e41b5..5125bd3701d 100644 --- a/sys/kern/kern_poll.c +++ b/sys/kern/kern_poll.c @@ -118,7 +118,7 @@ static u_int32_t poll_burst_max = 150; /* good for 100Mbit net and HZ=1000 */ SYSCTL_UINT(_kern_polling, OID_AUTO, burst_max, CTLFLAG_RW, &poll_burst_max, 0, "Max Polling burst size"); -static u_int32_t poll_in_idle_loop=0; /* do we poll in idle loop ? */ +static u_int32_t poll_in_idle_loop=1; /* do we poll in idle loop ? */ SYSCTL_UINT(_kern_polling, OID_AUTO, idle_poll, CTLFLAG_RW, &poll_in_idle_loop, 0, "Enable device polling in idle loop");