Re: [patch 00/17] CFS Bandwidth Control v7.1

From: Paul Turner
Date: Fri Jul 08 2011 - 03:35:55 EST


On Thu, Jul 7, 2011 at 7:06 AM, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
>
> The very first .config I build gets me:
>
>  CC      kernel/sched.o
> /usr/src/linux-2.6/kernel/sched.c:503: warning: ‘struct cfs_bandwidth’ declared inside parameter list
> /usr/src/linux-2.6/kernel/sched.c:503: warning: its scope is only this definition or declaration, which is probably not what you want
> /usr/src/linux-2.6/kernel/sched.c:504: warning: ‘struct cfs_bandwidth’ declared inside parameter list
> In file included from /usr/src/linux-2.6/kernel/sched.c:2175:
> /usr/src/linux-2.6/kernel/sched_fair.c: In function ‘move_one_task’:
> /usr/src/linux-2.6/kernel/sched_fair.c:2770: error: ‘struct cfs_rq’ has no member named ‘tg’
>

Fixed -- I missed !CGROUP in my testing.

I'll roll these nits with the !SMP support and some performance
shavings from this thread.
>
>
>
--
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/