Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2003 21:59:40 +0100
From:      Vincent Jardin <vjardin@wanadoo.fr>
To:        Harti Brandt <brandt@fokus.fraunhofer.de>, atm@freebsd.org
Subject:   Re: Bug in hea driver?
Message-ID:  <3E26CE540106EDD2@mel-rta7.wanadoo.fr> (added by postmaster@wanadoo.fr)
In-Reply-To: <20030211112002.S3497@beagle.fokus.gmd.de>
References:  <20030211112002.S3497@beagle.fokus.gmd.de>

next in thread | previous in thread | raw e-mail | index | archive | help
I agree with this patch.

Vincent

Le Mardi 11 Février 2003 11:23, Harti Brandt a écrit :
> Hi all,
>
> could someone please comment on the attached patch? There seems to be a
> bug in the on-card memory allocator. The problem is, that when we need to
> split a block that appears to be large enough because of alignment, we
> want to check, that what remains after splitting is large enough (with
> regard to the size we are trying to allocated), not that it is >= 0. The
> test for >= 0 should always be true, because a block of size N (N beeing a
> power of two) always contains an address that is aligned to N, so that the
> upper half when splitting such a block is always >= 0.
>
> harti

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




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