From: "Liu, Yong" <yong.liu@intel.com>
To: "Tang, HaifengX" <haifengx.tang@intel.com>,
"dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V2] add x86_x32 abi target support
Date: Sun, 15 Feb 2015 01:39:45 +0000 [thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10D7CA1B@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1423962256-12810-1-git-send-email-haifengx.tang@intel.com>
Applied. Please make sure every line of comments log less than 79 characters.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Haifeng Tang
> Sent: Sunday, February 15, 2015 9:04 AM
> To: dts@dpdk.org
> Subject: [dts] [PATCH V2] add x86_x32 abi target support
>
> From: tanghaix <haifengx.tang@intel.com>
>
> Support 32bit applications in 64bit mixed environments. x32 ABI (x32
> application binary interface) is an application binary interface project
> for Linux kernel that allows programs to take advantage of the benefits of
> x86-64 (larger number of CPU registers, better floating-point performance,
> faster position-independent code shared libraries, function parameters
> passed via registers, faster syscall instruction) while using 32-bit
> pointers and thus avoiding the overhead of 64-bit pointers.
>
> Signed-off-by: tanghaix <haifengx.tang@intel.com>
> ---
> framework/dut.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/framework/dut.py b/framework/dut.py
> index 9879335..1db6722 100644
> --- a/framework/dut.py
> +++ b/framework/dut.py
> @@ -195,6 +195,9 @@ class Dut(Crb):
> arch_huge_pages = hugepages if hugepages > 0 else 1024
> elif self.architecture == "i686":
> arch_huge_pages = hugepages if hugepages > 0 else 512
> + #set huge pagesize for x86_x32 abi target
> + elif self.architecture == "x86_x32":
> + arch_huge_pages = hugepages if hugepages > 0 else 256
>
> total_huge_pages = self.get_total_huge_pages()
>
> --
> 1.7.9.5
prev parent reply other threads:[~2015-02-15 1:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-15 1:04 Haifeng Tang
2015-02-15 1:39 ` Liu, Yong [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=86228AFD5BCD8E4EBFD2B90117B5E81E10D7CA1B@SHSMSX103.ccr.corp.intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=haifengx.tang@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).