Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in hea driver?



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@xxxxxxxxxxx
with "unsubscribe freebsd-atm" in the body of the message