Re: Bug in hea driver?

Vincent Jardin <[email protected]> Tue, 11 Feb 2003 21:59:40 +0100
Newsgroups gmane.os.freebsd.devel.atm
Message-ID <[email protected]>
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 [email protected]
with "unsubscribe freebsd-atm" in the body of the message