Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 11:41:11 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        net@freebsd.org
Subject:   Re: Getting rid of maxsockets.
Message-ID:  <20020320194111.GK455@elvis.mu.org>
In-Reply-To: <20020320143354.Y41335-100000@mail.chesapeake.net>
References:  <20020320143354.Y41335-100000@mail.chesapeake.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jeff Roberson <jroberson@chesapeake.net> [020320 11:36] wrote:
> Would anyone be upset if I got rid of maxsockets and consequently the
> limits on the *pcb zones?  This was previously used so that the zone
> allocator could allocate items at interrupt time.  Now you can just supply
> M_NOWAIT/WAITOK and get the desired effect without a hard limit.

That depends on what this implies. :)

Does it mean that when giving M_NOWAIT there's a chance it may fail
more often than the old zone allocator?  Meaning does M_NOWAIT mean
"only allocate from cache" or do you do close to the same thing that
the zone allocator does except in a more flexible manner?

Sorry if the question is niave, I'm not extremely familiar with the
previous and current code.

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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