Thread (4 messages) 4 messages, 3 authors, 2018-08-21

Re: [PATCH] x86/mm: Simplify p[g4um]d_page() macros

From: Andi Kleen <hidden>
Date: 2018-08-20 22:04:26
Also in: kvm, linux-doc, linux-efi, linux-mm, stable

On Mon, Aug 20, 2018 at 02:57:39PM -0700, Linus Torvalds wrote:
On Mon, Aug 20, 2018 at 1:37 PM Andi Kleen [off-list ref] wrote:
quoted
From: Andi Kleen <redacted>

Create a pgd_pfn() macro similar to the p[4um]d_pfn() macros and then
use the p[g4um]d_pfn() macros in the p[g4um]d_page() macros instead of
duplicating the code.
When doing backports, _please_ explicitly specify which commit this is
upstream too.
Ok.
Also, the original upstream patch is credited to Tom Lendacky.
Okay.
Or is there something I'm not seeing, and this is different from
commit fd7e315988b7 ("x86/mm: Simplify p[g4um]d_page() macros")?
No it's Tom's patch just ported to the older tree with some minor
changes. I just fat fingered it while doing the commit

-Andi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help