Re: [patch for 2.6.24? 1/1] cpufreq: Initialise default governor before use

From: Johannes Weiner
Date: Wed Jan 16 2008 - 10:16:36 EST


Hi,

Ingo Molnar <mingo@xxxxxxx> writes:

> * akpm@xxxxxxxxxxxxxxxxxxxx <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>> +#ifdef CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
>> +fs_initcall(cpufreq_gov_dbs_init);
>> +#else
>> module_init(cpufreq_gov_dbs_init);
>> +#endif
>
> silly question: why not unconditional fs_initcall() ?

Would there be a way to avoid the fs_initcall at all?

Otherwise, this is just a psychological thing to show, hey, this still
sucks, find a better solution. But perhaps the plain fs_initcall is
marker enough for that fact.

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