Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 1998 19:11:33 -0700
From:      "Justin T. Gibbs" <gibbs@plutotech.com>
To:        Guido van Rooij <guido@freebsd.org>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org
Subject:   Re: cvs commit: src/sys/conf param.c 
Message-ID:  <199803010214.TAA07191@pluto.plutotech.com>
In-Reply-To: Your message of "Fri, 27 Feb 1998 11:58:32 PST." <199802271958.LAA27339@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803010214.TAA07191>