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

From: Jason Baron
Date: Thu Jul 07 2011 - 12:24:22 EST


On Thu, Jul 07, 2011 at 04:56:20PM +0200, Ingo Molnar wrote:
> * Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
>
> > On Thu, 2011-07-07 at 16:51 +0200, Ingo Molnar wrote:
> > > > Going beyond that
> > > > would be using static_branch() to track if there is any bandwidth
> > > > tracking required at all.
> > >
> > > Could jump labels be utilized perhaps?
> >
> > # git grep static_branch include/linux/
> > include/linux/jump_label.h:static __always_inline bool static_branch(struct jump_label_key *key)
>
> Right - i only read up to your first, __always_inline suggestion :)
>
> Thanks,
>
> Ingo

yes, this is the type of case jump labels is designed for. Let me know
if there are any usage questions/concerns.

thanks,

-Jason
--
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/