tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Condition variable change
On Tue, May 27, 2008 at 10:57:04PM +0100, Andrew Doran wrote:
> Hi
>
> The below diff gives each condition variable a private sleep queue. It
> allows the system to scale more gracefully when there are 100s or 1000s of
> of active threads because much less time is spent searching sleep queues.
> With the change kcondvar_t grows from 8 to 12 bytes on 32-bit systems.
>
> I realise that we are in feature freeze, but propose this change because it
> does not alter any of the underlying principles or surrounding code, or add
> any new interfaces. It just relocates the sleep queue head.
>
> Comments?
Fine by me - I class this more as a cleanup than any major new functionality
addition.
Thanks,
Al
Home |
Main Index |
Thread Index |
Old Index