[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190515163032.GU2589@hirez.programming.kicks-ass.net>
Date: Wed, 15 May 2019 18:30:32 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Parth Shah <parth@...ux.ibm.com>
Cc: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
mingo@...hat.com, dietmar.eggemann@....com, dsmythies@...us.net
Subject: Re: [RFCv2 2/6] sched: Introduce switch to enable TurboSched mode
On Wed, May 15, 2019 at 07:23:18PM +0530, Parth Shah wrote:
> +void turbo_sched_get(void)
> +{
> + spin_lock(&turbo_sched_lock);
> + if (!turbo_sched_count++)
> + static_branch_enable(&__turbo_sched_enabled);
> + spin_unlock(&turbo_sched_lock);
> +}
Muwhahaha, you didn't test this code, did you?
Powered by blists - more mailing lists