From: Thomas Gleixner <tglx@linutronix.de>
To: Borislav Petkov <bp@alien8.de>
Cc: X86 ML <x86@kernel.org>, LKML <linux-kernel@vger.kernel.org>,
Borislav Petkov <bp@suse.de>
Subject: Re: [PATCH] x86, cpa: Cleanup split_large_page and its callee
Date: Tue, 26 Mar 2013 21:56:05 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.2.02.1303262155460.22263@ionos> (raw)
In-Reply-To: <1363886217-24703-1-git-send-email-bp@alien8.de>
On Thu, 21 Mar 2013, Borislav Petkov wrote:
> From: Borislav Petkov <bp@suse.de>
>
> So basically we're generating the pte_t * from a struct page and we're
> handing it down to the __split_large_page internal version which then
> goes and gets back struct page * from it because it needs it.
>
> Change the caller to hand down struct page * directly and the callee can
> compute the pte_t itself.
>
> Net save is one virt_to_page() call and simpler code. While at it, make
> __split_large_page static.
>
> Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
next prev parent reply other threads:[~2013-03-26 20:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-21 17:16 Borislav Petkov
2013-03-26 20:56 ` Thomas Gleixner [this message]
2013-04-10 13:50 ` [tip:x86/mm] x86/mm/cpa: Cleanup split_large_page() " tip-bot for Borislav Petkov
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=alpine.LFD.2.02.1303262155460.22263@ionos \
--to=tglx@linutronix.de \
--cc=bp@alien8.de \
--cc=bp@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@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
Powered by JetHome