Re: [PATCH 08/10] -mm: clocksource: initialize list value

From: john stultz
Date: Mon Oct 09 2006 - 16:00:23 EST


On Fri, 2006-10-06 at 11:54 -0700, Daniel Walker wrote:
> plain text document attachment (clocksouce_list_init.patch)
> A change to clocksource initialization. It's optional for new clocksources,
> but prefered. If the list field is initialized it allows clocksource_register
> to complete faster since it doesn't have the scan the list of clocks doing
> strcmp on each.
>
> Signed-Off-By: Daniel Walker <dwalker@xxxxxxxxxx>

I dont' have any comments that haven't been said:

Drop the CLOCKSOURCE_LIST_INIT define, and make it required. Its easy
enough to add.

thanks
-john



-
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/