Re: [PATCH] - Reduce overhead of calc_load

From: Ingo Molnar
Date: Fri Mar 17 2006 - 09:58:42 EST



* Jack Steiner <steiner@xxxxxxx> wrote:

> Signed-off-by: Jack Steiner <steiner@xxxxxxx>

Acked-by: Ingo Molnar <mingo@xxxxxxx>

> extern int nr_processes(void);
> extern unsigned long nr_running(void);
> +extern unsigned long nr_active(void);
> extern unsigned long nr_uninterruptible(void);
> extern unsigned long nr_iowait(void);

ob'nit, i'd make it:

> extern int nr_processes(void);
> extern unsigned long nr_running(void);
> extern unsigned long nr_uninterruptible(void);
> +extern unsigned long nr_active(void);
> extern unsigned long nr_iowait(void);

just to keep the logical order.

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