Re: [PATCH] replace ida in workqueue with page-sized buffer
From: Hillf Danton
Date: Fri Jan 07 2011 - 21:17:44 EST
On Sat, Dec 18, 2010 at 9:10 PM, Hillf Danton <dhillf@xxxxxxxxx> wrote:
> The id of worker of global work queue is monitored with kernel library, ida.
>
> The ida in global work queue is redefined to be page-sized buffer,
> which is allocated when initializing workqueue.
>
> The new id allocator could monitor ids in the rage from 0 to INT_MAX.
> The buffer is used to store freed ids, and if the peak number of ids,
> in workqueue as whole, is not out of the capacity of the allocated
> buffer, there is no more allocation of buffer after initializing.
>
> The advantage looks that the new allocator runs faster.
>
> Signed-off-by: Hillf Danton <dhillf@xxxxxxxxx>
Hey Ingo
Please take a glance at the patch for replacing ida in workqueue at
https://lkml.org/lkml/2010/12/18/35
thanks
Hillf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/