* [LTP] [PATCH] mmap15: raise high address to 2^53
@ 2014-07-22 16:06 Jan Stancek
2014-07-22 16:26 ` chrubis
2014-07-22 16:57 ` Caspar Zhang
0 siblings, 2 replies; 3+ messages in thread
From: Jan Stancek @ 2014-07-22 16:06 UTC (permalink / raw)
To: ltp-list; +Cc: wangli.ahau
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>
---
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;
--
1.7.1
------------------------------------------------------------------------------
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH] mmap15: raise high address to 2^53
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
1 sibling, 0 replies; 3+ messages in thread
From: chrubis @ 2014-07-22 16:26 UTC (permalink / raw)
To: Jan Stancek; +Cc: ltp-list, wangli.ahau
Hi!
> 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>
> ---
> 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;
Looks good to me, acked.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH] mmap15: raise high address to 2^53
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
1 sibling, 0 replies; 3+ messages in thread
From: Caspar Zhang @ 2014-07-22 16:57 UTC (permalink / raw)
To: Jan Stancek, ltp-list; +Cc: wangli.ahau
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-22 16:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox