[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170421101825.mffgoffssy4krtxg@hirez.programming.kicks-ass.net>
Date: Fri, 21 Apr 2017 12:18:25 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: luca abeni <luca.abeni@...tannapisa.it>
Cc: Juri Lelli <juri.lelli@....com>, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...hat.com>,
Claudio Scordino <claudio@...dence.eu.com>,
Steven Rostedt <rostedt@...dmis.org>,
Tommaso Cucinotta <tommaso.cucinotta@...up.it>,
Daniel Bristot de Oliveira <bristot@...hat.com>,
Mathieu Poirier <mathieu.poirier@...aro.org>
Subject: Re: [PATCH] sched/deadline: fix switching to -deadline
On Fri, Apr 21, 2017 at 11:59:07AM +0200, luca abeni wrote:
> Not sure if this is a conincidence... By looking at the comments in
> sched/sched.h I got the impression the two values match by design (and
> __sched_setscheduler() is using this property to simplify the code :)
Exactly. Makes things simpler if they line up properly, because then you
can use the same flags for dequeue and enqueue.
Powered by blists - more mailing lists