mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <cutaway@bellsouth.net>
To: "Ian Campbell" <ijc@hellion.org.uk>
Cc: "Denis Vlasenko" <vda@ilport.com.ua>, <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] Observations on x86 process.c
Date: Mon, 13 Jun 2005 15:37:50 -0400	[thread overview]
Message-ID: <001801c5704f$662fc0a0$2800000a@pc365dualp2> (raw)
In-Reply-To: <1118678551.23816.3.camel@icampbell-debian>

I'm well aware of them Ian.  What I'm talking about is a somewhat different
broader notion that can be applied to things other than conditionals.

ex.

switch(whatever)
    {
    case blah:
        __attribute__((slowcode)) {
        /*
          An infrequently used, but plump block of code.
        */
        }

    case blahblah:
    ...etc...
    }


----- Original Message ----- 
From: "Ian Campbell" <ijc@hellion.org.uk>
To: <cutaway@bellsouth.net>
>
> I think you should probably checkout the likely() and unlikely() macros
> which are already defined for use in the kernel.
> Ian.


      reply	other threads:[~2005-06-13 18:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-13 13:02 cutaway
2005-06-13 12:37 ` Jan Engelhardt
2005-06-13 13:43   ` cutaway
2005-06-13 13:18 ` Denis Vlasenko
2005-06-13 15:01   ` cutaway
2005-06-13 14:26     ` Denis Vlasenko
2005-06-13 16:01       ` cutaway
2005-06-13 16:32   ` cutaway
2005-06-13 16:02     ` Ian Campbell
2005-06-13 19:37       ` cutaway [this message]

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='001801c5704f$662fc0a0$2800000a@pc365dualp2' \
    --to=cutaway@bellsouth.net \
    --cc=ijc@hellion.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vda@ilport.com.ua \
    /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

all inboxes | Powered by JetHome®