[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181112065752.GA97934@gmail.com>
Date: Mon, 12 Nov 2018 07:57:52 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Muchun Song <smuchun@...il.com>, linux-kernel@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH] sched/rt: Introduce prio_{higher,lower}() helper for
comparing RT task prority
* Peter Zijlstra <peterz@...radead.org> wrote:
> I think you only need the less thing, because:
>
> static inline bool prio_lower(int a, int b)
> {
> return a > b;
> }
I'd say that should be named rt_prio_lower(), even if it's local to
sched/rt.c, right?
Thanks,
Ingo
Powered by blists - more mailing lists