linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tim Blechmann <tim@klingt.org>
To: linux-rt-users@vger.kernel.org
Subject: rt_prio branch hint
Date: Tue, 24 Nov 2009 19:50:06 +0100	[thread overview]
Message-ID: <heh9sv$car$1@ger.gmane.org> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi all,

not, sure, if it is an issue with the rt kernel, but the branch hint in
rt_prio appears to go to the wrong direction, when profiling on my machine:

static inline int rt_prio(int prio)
{
	if (unlikely(prio < MAX_RT_PRIO))
		return 1;
	return 0;
}

would be nice, if someone with more insight in the scheduler could have
a look at this ...

thanks, tim

- -- 
tim@klingt.org
http://tim.klingt.org

Cheat your landlord if you can and must, but do not try to shortchange
the Muse. It cannot be done. You can't fake quality any more than you
can fake a good meal.
  William S. Burroughs

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAksMKtwACgkQdL+4qsZfVssrgQCgm5jeHz7I4beM4SS6nKZK6ODb
eZMAniFSN8k4tPStymprqr7V5Ypnpt+L
=/W9/
-----END PGP SIGNATURE-----


                 reply	other threads:[~2009-11-24 18:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='heh9sv$car$1@ger.gmane.org' \
    --to=tim@klingt.org \
    --cc=linux-rt-users@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).