| Date | Mon, 14 Oct 2013 16:06:18 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 12/14] sched: make dl_bw a sub-quota of rt_bw |
| |
* Juri Lelli <juri.lelli@gmail.com> wrote:
> +#ifdef CONFIG_SMP > + struct dl_bw *dl_b = &cpu_rq(i)->rd->dl_bw; > +#else > + struct dl_bw *dl_b = &cpu_rq(i)->dl.dl_bw; > +#endif
> +#ifdef CONFIG_SMP > + struct dl_bw *dl_b = &cpu_rq(i)->rd->dl_bw; > +#else > + struct dl_bw *dl_b = &cpu_rq(i)->dl.dl_bw; > +#endif
Btw., this kind of SMP/UP assymetry pattern really sucks. Why not make UP use the SMP data structure, even if it's degenerate?
Thanks,
Ingo
|