Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
ltp
/
aabb8340f63ed31afe995fd97795e542dc68b93c
/
testcases
/
kernel
/
mem
/
mmapstress
/
mmapstress03.c
aabb834
Include usctest.h in test.h
by Cyril Hrubis
· 9 years ago
526fdf8
Change tst_resm() followed by tst_exit() to tst_brkm()
by Cyril Hrubis
· 10 years ago
371cf0a
Remove returns that follows tst_exit()
by Cyril Hrubis
· 10 years ago
354ebb4
cleanup code indent
by Wanlong Gao
· 12 years ago
4548c6c
Update FSF address
by Wanlong Gao
· 12 years ago
ec6edca
Add missing newline at end of file
by Chris Dearman
· 12 years ago
72521cf
Fix more tests; remove more Tst_count externs.
by Garrett Cooper
· 14 years ago
7d0a4a5
Cleanup style and get rid of conflicts problems.
by Garrett Cooper
· 14 years ago
2c28215
Style and conformance changes.
by Garrett Cooper
· 14 years ago
df3eb16
Deal with a lot of annoying style nits.
by Garrett Cooper
· 14 years ago
428f6a3
mmapstress03: consider passed when returning EINVAL in the large mmap test: Some architectures may return EINVAL instead of ENOMEM. This should also be ok according to mmap manual: EINVAL We don't like addr, length, or offset (e.g., they are too large, or not aligned on a page boundary). Signed-off-by: nobuhiro <nobuhiro@andestech.com>.
by subrata_modak
· 15 years ago
bdbaec5
Clean Trailing Tab: Signed-off-by: Michal Simek <monstr@monstr.eu>.
by subrata_modak
· 15 years ago
43337a3
Fix return(0) to return 0. Signed-off-by: Michal Simek <monstr@monstr.eu>.
by subrata_modak
· 15 years ago
36f6339
mmapstress03: fix mmapstress03 on x86_64: There is a testcase in mmapstress03, which tries to mmap 2Gb-4Kb at address 0x7ffff000 and checks it returns error and errno is set to ENOMEM. But such mmap is possible on x86_64. So lets tune size and address to more suitable for 64-bit architectures.. Signed-Off-By: Dmitry Guryanov <dguryanov@parallels.com>.
by subrata_modak
· 16 years ago
d245d77
There is a testcase in mmapstress03, which checks, that we can't mmap 2Gb-512Kb of RAM at address 0x7ff80000. But if host has > 2Gb of RAM+swap - it's valid operation: mmap maps 2Gb of ram at some other address and returns no errors. For correct working of this testcase we should add MAP_FIXED flag to mmap. Signed-Off-By: Dmitry Guryanov <dguryanov@parallels.com>.
by subrata_modak
· 16 years ago
ba205d2
sbrk has arguments of type intptr_t, which is long in on x86_64. There is following line in mmapstress03:
by subrata_modak
· 16 years ago
c398e4f
use errno.h instead of doing extern int errno
by vapier
· 18 years ago
f81795e
remove duplicated errno.h includes and just include errno.h, not sys/errno.h
by vapier
· 18 years ago
8445709
Added mmapstress testsuite ported by Ananda Venkataraman.
by robbiew
· 22 years ago