Re: [RFC] maximum latency tracking infrastructure (version 2)

From: Daniel Walker
Date: Fri Aug 25 2006 - 11:41:37 EST


On Fri, 2006-08-25 at 13:22 +0200, Arjan van de Ven wrote:

> +void set_acceptable_latency(char *identifier, int usecs);
> +void modify_acceptable_latency(char *identifier, int usecs);
> +void remove_acceptable_latency(char *identifier);
> +void synchronize_acceptable_latency(void);
> +int system_latency_constraint(void);
> +
> +int register_latency_notifier(struct notifier_block * nb);
> +int unregister_latency_notifier(struct notifier_block * nb);


The name space here is bugging me a little. Maybe prefix them with
"pm_latency" so you'd have "pm_latency_set_acceptable()" ,
"pm_latency_modify_acceptable()" , something like that. Likewise with
the file names , "include/linux/pm_latency.h"

Daniel

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