From owner-freebsd-arch Thu Dec 20 11:51: 7 2001 Delivered-To: freebsd-arch@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 6C75B37B405; Thu, 20 Dec 2001 11:51:05 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 1D48A81D01; Thu, 20 Dec 2001 13:51:05 -0600 (CST) Date: Thu, 20 Dec 2001 13:51:05 -0600 From: Alfred Perlstein To: Julian Elischer Cc: Poul-Henning Kamp , arch@freebsd.org Subject: Re: Kernel stack size and stacking: do we have a problem ? Message-ID: <20011220135105.F48837@elvis.mu.org> References: <600.1008837822@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Thu, Dec 20, 2001 at 10:51:52AM -0800 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Julian Elischer [011220 13:00] wrote: > Netgraph has a bounding scheme that archie and I came up with, but > it has not been committed yet. basically, in the -current version, > the mbufs are passed with an itteration counter, and > if you directly execute another module you increment it. If you queue the > item you clear it to 0. After it reaches a limit of N the subsystem will > queue it rather than try run the next layer directly. > I have code to do that here and I've been thinking about checking it in.. That sounds like an excellent idea. You're saying basically switch to phk's thread dispatch method when you hit N levels of nesting, right? -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message