From owner-cvs-sys Sat Feb 28 18:14:44 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA23718 for cvs-sys-outgoing; Sat, 28 Feb 1998 18:14:44 -0800 (PST) (envelope-from owner-cvs-sys) Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA23707; Sat, 28 Feb 1998 18:14:31 -0800 (PST) (envelope-from gibbs@plutotech.com) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.7/8.8.5) with ESMTP id TAA07191; Sat, 28 Feb 1998 19:14:31 -0700 (MST) Message-Id: <199803010214.TAA07191@pluto.plutotech.com> X-Mailer: exmh version 2.0.1 12/23/97 To: Guido van Rooij cc: cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org Subject: Re: cvs commit: src/sys/conf param.c In-reply-to: Your message of "Fri, 27 Feb 1998 11:58:32 PST." <199802271958.LAA27339@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 28 Feb 1998 19:11:33 -0700 From: "Justin T. Gibbs" Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >guido 1998/02/27 11:58:31 PST > > Modified files: > sys/conf param.c > Log: > Raise ncallout from NPROC + 16 to NPROC + 16 + MAXFILES. This shold > prevent a possible DOS attack. The proper fix (to dynamically grow > the callout list) is in the make. > Submitted by: Paul Traina > > Revision Changes Path > 1.26 +5 -4 src/sys/conf/param.c We should probably continue the discussion that was started a while back about having clients allocate their own callouts. Some areas of the system can gracefully handle resource shortages if they can determine there is a shortage up front (e.g. CAM when allocating CCBs). Having an allocation fail at the time of "timeout" is too late to take corrective action and is problematic as timeout may occur in an interrupt context. -- Justin