public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Muchun Song <smuchun@gmail.com>,
	linux-kernel@vger.kernel.org,
	Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [PATCH] sched/rt: Introduce prio_{higher,lower}() helper for comparing RT task prority
Date: Mon, 12 Nov 2018 07:57:52 +0100	[thread overview]
Message-ID: <20181112065752.GA97934@gmail.com> (raw)
In-Reply-To: <20181107173140.GK9761@hirez.programming.kicks-ass.net>


* Peter Zijlstra <peterz@infradead.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

  parent reply	other threads:[~2018-11-12  6:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-07 16:15 [PATCH] sched/rt: Introduce prio_{higher,lower}() helper for comparing RT task prority Muchun Song
2018-11-07 17:31 ` Peter Zijlstra
2018-11-08  2:15   ` Muchun Song
2018-11-08  9:52     ` Peter Zijlstra
2018-11-12  6:57   ` Ingo Molnar [this message]
2018-11-12 15:15     ` Muchun Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181112065752.GA97934@gmail.com \
    --to=mingo@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=smuchun@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox