linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rt_prio branch hint
@ 2009-11-24 18:50 Tim Blechmann
  0 siblings, 0 replies; only message in thread
From: Tim Blechmann @ 2009-11-24 18:50 UTC (permalink / raw)
  To: linux-rt-users

-----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-----


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-24 18:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24 18:50 rt_prio branch hint Tim Blechmann

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).