Re: [PATCH] x86: Fix dmi_alloc() to not advance alloc index in case of failure

2007-12-19 Thread Ingo Molnar
* 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

Re: [PATCH] x86: Fix dmi_alloc() to not advance alloc index in case of failure

2007-12-19 Thread Ingo Molnar
* 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

[PATCH] x86: Fix dmi_alloc() to not advance alloc index in case of failure

2007-12-18 Thread Parag Warudkar
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

[PATCH] x86: Fix dmi_alloc() to not advance alloc index in case of failure

2007-12-18 Thread Parag Warudkar
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