Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2003 15:12:03 -0500 (EST)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: PATCH: typo in socreate() or i'm missing something
Message-ID:  <200303022012.h22KC33h075566@khavrinen.lcs.mit.edu>
In-Reply-To: <20030301202521.D25845-100000@gamplex.bde.org>
References:  <3E5FA9B0.90306@exodus.net> <20030301202521.D25845-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sat, 1 Mar 2003 22:18:12 +1100 (EST), Bruce Evans <bde@zeta.org.au> said:

> Interestingly, socreate() in Lite2 always does a can-wait malloc() so
> our current soalloc(M_NOWAIT) does the same thing as Lite2 and is only
> wrong if the FreeBSD change from can-wait to "can-wait-if p != 0"
> change was needed and is still needed.

When I initially revamped that code, I waited unconditionally and was
rewarded with an appropriate panic for sleeping in interrupt context.
I cannot speak as to whether it is still needed.

-GAWollman


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




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