From: Caspar Zhang <caspar@casparzhang.com>
To: Jan Stancek <jstancek@redhat.com>, ltp-list@lists.sourceforge.net
Cc: wangli.ahau@gmail.com
Subject: Re: [LTP] [PATCH] mmap15: raise high address to 2^53
Date: Wed, 23 Jul 2014 00:57:27 +0800 [thread overview]
Message-ID: <53CE97F7.7070508@casparzhang.com> (raw)
In-Reply-To: <dc2462c674d71068608438bec6cb162481571eec.1406044787.git.jstancek@redhat.com>
On 07/23/2014 12:06 AM, Jan Stancek wrote:
> Address space on s390x can go atm. as high as 2^53,
> so raise high address used here to this level.
>
> Signed-off-by: Li Wang <wangli.ahau@gmail.com>
> Signed-off-by: Jan Stancek <jstancek@redhat.com>
Acked-by: Caspar Zhang <caspar@casparzhang.com>
Thanks,
Caspar
> ---
> testcases/kernel/syscalls/mmap/mmap15.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/testcases/kernel/syscalls/mmap/mmap15.c b/testcases/kernel/syscalls/mmap/mmap15.c
> index 321d405..49dbba4 100644
> --- a/testcases/kernel/syscalls/mmap/mmap15.c
> +++ b/testcases/kernel/syscalls/mmap/mmap15.c
> @@ -41,7 +41,7 @@
> char *TCID = "mmap15";
> int TST_TOTAL = 1;
>
> -#define HIGH_ADDR (void *)(0x1000000000000)
> +#define HIGH_ADDR (void *)(1L << 53)
>
> static long map_sz;
>
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2014-07-22 16:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-22 16:06 [LTP] [PATCH] mmap15: raise high address to 2^53 Jan Stancek
2014-07-22 16:26 ` chrubis
2014-07-22 16:57 ` Caspar Zhang [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=53CE97F7.7070508@casparzhang.com \
--to=caspar@casparzhang.com \
--cc=jstancek@redhat.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=wangli.ahau@gmail.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