All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@linux.intel.com>
To: George Spelvin <linux@horizon.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [GIT PULL] x86 fixes for 3.11-rc2
Date: Sun, 21 Jul 2013 13:17:57 -0700	[thread overview]
Message-ID: <51EC41F5.4040808@linux.intel.com> (raw)
In-Reply-To: <20130720122504.25856.qmail@science.horizon.com>

On 07/20/2013 05:25 AM, George Spelvin wrote:
> It's marginal with only two call sites, but would it be worth factoring
> out the write-back function?  Something like this (untested) patch.
> It definitely makes the generated assembly cleaner.
> 
> (Signed-off-by: George Spelvin <linux@horizon.com> if you want it.)

Two call sites, statistically "never" executed, really doesn't justify
adding a new assembly function.  I was considering making a C wrapper,
though... I would also like to change these to using rdmsrl/wrmsrl.

	-hpa



  parent reply	other threads:[~2013-07-21 20:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-20 12:25 [GIT PULL] x86 fixes for 3.11-rc2 George Spelvin
2013-07-20 13:25 ` Borislav Petkov
2013-07-20 14:47   ` George Spelvin
2013-07-20 16:55     ` Borislav Petkov
2013-07-21 20:17 ` H. Peter Anvin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-07-18 22:41 H. Peter Anvin
2013-07-19  0:46 ` Linus Torvalds
2013-07-19  0:49   ` Myklebust, Trond
2013-07-19  0:50   ` H. Peter Anvin
2013-07-19  4:25   ` H. Peter Anvin

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=51EC41F5.4040808@linux.intel.com \
    --to=hpa@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@horizon.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.