From: "H. Peter Anvin" <hpa@zytor.com>
To: mingo@kernel.org, dvlasenk@redhat.com, vkuznets@redhat.com,
tglx@linutronix.de, linux-kernel@vger.kernel.org,
toshi.kani@hp.com, xen-devel@lists.xenproject.org,
luto@amacapital.net, mcgrof@suse.com, boris.ostrovsky@oracle.com,
jbeulich@suse.com, david.vrabel@citrix.com, bp@alien8.de,
torvalds@linux-foundation.org, akpm@linux-foundation.org,
brgerst@gmail.com, peterz@infradead.org, JGross@suse.com,
linux-tip-commits@vger.kernel.org
Subject: Re: [tip:x86/asm] x86/mm/xen: Suppress hugetlbfs in PV guests
Date: Fri, 22 Apr 2016 11:03:53 -0700 [thread overview]
Message-ID: <571A6789.1040807@zytor.com> (raw)
In-Reply-To: <tip-103f6112f253017d7062cd74d17f4a514ed4485c@git.kernel.org>
On 04/22/2016 02:47 AM, tip-bot for Jan Beulich wrote:
> Commit-ID: 103f6112f253017d7062cd74d17f4a514ed4485c
> Gitweb: http://git.kernel.org/tip/103f6112f253017d7062cd74d17f4a514ed4485c
> Author: Jan Beulich <JBeulich@suse.com>
> AuthorDate: Thu, 21 Apr 2016 00:27:04 -0600
> Committer: Ingo Molnar <mingo@kernel.org>
> CommitDate: Fri, 22 Apr 2016 10:05:00 +0200
>
>
> diff --git a/arch/x86/include/asm/hugetlb.h b/arch/x86/include/asm/hugetlb.h
> index f8a29d2..e6a8613 100644
> --- a/arch/x86/include/asm/hugetlb.h
> +++ b/arch/x86/include/asm/hugetlb.h
> @@ -4,6 +4,7 @@
> #include <asm/page.h>
> #include <asm-generic/hugetlb.h>
>
> +#define hugepages_supported() cpu_has_pse
>
Please don't use the cpu_has_* macros anymore, they are going away soon.
In this case it should be static_cpu_has(X86_FEATURE_PSE).
-hpa
next prev parent reply other threads:[~2016-04-22 18:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-21 6:27 [PATCH] x86/xen: suppress hugetlbfs in PV guests Jan Beulich
2016-04-22 9:47 ` [tip:x86/asm] x86/mm/xen: Suppress " tip-bot for Jan Beulich
2016-04-22 18:03 ` H. Peter Anvin [this message]
2016-04-22 18:16 ` Borislav Petkov
2016-04-25 7:37 ` Jan Beulich
2016-04-25 7:52 ` Thomas Gleixner
2016-04-25 12:39 ` [Xen-devel] " David Vrabel
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=571A6789.1040807@zytor.com \
--to=hpa@zytor.com \
--cc=JGross@suse.com \
--cc=akpm@linux-foundation.org \
--cc=boris.ostrovsky@oracle.com \
--cc=bp@alien8.de \
--cc=brgerst@gmail.com \
--cc=david.vrabel@citrix.com \
--cc=dvlasenk@redhat.com \
--cc=jbeulich@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=mcgrof@suse.com \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=toshi.kani@hp.com \
--cc=vkuznets@redhat.com \
--cc=xen-devel@lists.xenproject.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