Re: [PATCH 2/7] CPUFREQ: ondemand/conservative: deprecatesampling_rate{min,max}

From: Andrew Morton
Date: Wed Feb 04 2009 - 00:04:49 EST


On Tue, 3 Feb 2009 17:46:41 +0100 Thomas Renninger <trenn@xxxxxxx> wrote:

> static ssize_t show_sampling_rate_max(struct cpufreq_policy *policy, char *buf)
> {
> + printk(KERN_INFO "CPUFREQ: conservative sampling_rate_max "
> + "sysfs file is deprecated - used by: %s\n", current->comm);
> return sprintf (buf, "%u\n", MAX_SAMPLING_RATE);
> }

I'd have thought that the user-irritation risk here is pretty high.

Would it make sense to throttle these or to make them once-per-boot
or something?

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