lkml.org 
[lkml]   [2013]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2013-10-14 16:41    [W:0.218 / U:12.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site