Re: [ RFC, PATCH 1/5 ] CPU controller - base changes

From: Andrew Morton
Date: Fri Aug 04 2006 - 03:34:40 EST


On Fri, 4 Aug 2006 10:39:32 +0530
Srivatsa Vaddagiri <vatsa@xxxxxxxxxx> wrote:

> +/* runqueue used for every task-group */
> +struct task_grp_rq {
> + struct prio_array arrays[2];
> + struct prio_array *active, *expired, *rq_array;
> + unsigned long expired_timestamp;
> + unsigned int ticks;
> + int prio; /* Priority of the task-group */
> + struct list_head list;
> +};
> +
> +static DEFINE_PER_CPU(struct task_grp_rq, init_tg_rq);

That's another 4.5kbytes/cpu of our precious per-cpu memory. Is it feasible to make this
dependent upon CONFIG_CPUMETER?
-
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/