* Parag Warudkar <[email protected]> wrote:
> dmi_alloc() for CONFIG_X86_64 is defined to allocate from a static
> array and it maintains a allocation index which is advanced each time
> allocation is attempted - it gets incremented even if an allocation
> fails thereby depriving any future request that may be small enough to
> be satisfied from the array.
>
> Fix this by first testing if allocation is going to be possible and
> incrementing alloc index only then.
Thanks, applied. Nice catch!
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]