All of lore.kernel.org
 help / color / mirror / Atom feed
* relax_domain_level boot parameter has no effect
@ 2012-06-01 21:03 Dimitri Sivanich
  2012-06-04 15:37 ` Peter Zijlstra
  0 siblings, 1 reply; 7+ messages in thread
From: Dimitri Sivanich @ 2012-06-01 21:03 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra; +Cc: linux-kernel

I noticed (and verified) that the relax_domain_level boot parameter does not
get processed because sched_domain_level_max is 0 at the time that
setup_relax_domain_level() is run.

int sched_domain_level_max;

static int __init setup_relax_domain_level(char *str)
{
        unsigned long val;

        val = simple_strtoul(str, NULL, 0);
        if (val < sched_domain_level_max)
                default_relax_domain_level = val;

        return 1;
}
__setup("relax_domain_level=", setup_relax_domain_level);


struct sched_domain *build_sched_domain(struct sched_domain_topology_level *tl,
..
                sched_domain_level_max = max(sched_domain_level_max, sd->level);
..

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-06-06 16:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-01 21:03 relax_domain_level boot parameter has no effect Dimitri Sivanich
2012-06-04 15:37 ` Peter Zijlstra
2012-06-04 18:16   ` Dimitri Sivanich
2012-06-05 18:34     ` Dimitri Sivanich
2012-06-05 18:36       ` Peter Zijlstra
2012-06-05 18:44         ` [PATCH] Fix relax_domain_level interface Dimitri Sivanich
2012-06-06 16:01           ` [tip:sched/urgent] sched: Fix the relax_domain_level boot parameter tip-bot for Dimitri Sivanich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.