Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 22:36:48 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Peter Wemm <peter@wemm.org>
Cc:        Richard Wenninger <richard@richardw.net>, current@FreeBSD.ORG
Subject:   Re: UMA lock
Message-ID:  <3CF468F0.EDECFE43@mindspring.com>
References:  <20020529040704.A8A96380A@overcee.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm wrote:
> The bug is that things are calling things like malloc with M_WAITOK when
> waiting is explicitly not allowed.  There are other functions that can
> tsleep as well that we have not added checks for yet, so this is likely
> just the tip of the iceberg.  :-(

Why is this a problem?  M_WAITOK does not mean that it will wait
indefinitely, even though you'd think it would mean that, given
the name...

I think _sleeping_ is a problem, but allocation with M_WAITOK
shouldn't be, given it's strange definition of "waiting".  This
is one of those hacks that John Baldwin was talking about earlier...

-- Terry

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?3CF468F0.EDECFE43>