829ac9d177bb1c713f1fe4266bdc44792b8c556d |
|
08-Mar-2015 |
Mike Frysinger <vapier@gentoo.org> |
clean up some more old-style decls Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
aabb8340f63ed31afe995fd97795e542dc68b93c |
|
04-Feb-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Include usctest.h in test.h Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
526fdf8d8ea3b43b73de7cc25eb754f12702c8d2 |
|
04-Dec-2014 |
Cyril Hrubis <chrubis@suse.cz> |
Change tst_resm() followed by tst_exit() to tst_brkm() Created with coccinelle patch: @@ expression list L; expression C != {TINFO, TPASS}; @@ - tst_resm + tst_brkm (C, + NULL, L); - tst_exit(); Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
d2db48030ce485af049d78a1690afc6df99bb689 |
|
24-Sep-2014 |
Cyril Hrubis <chrubis@suse.cz> |
Remove useless shmat(...) casts. Created with coccinelle patch: @@ type T; expression E1, E2, E3; @@ -(T*) shmat(E1, E2, E3) Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
4e2bab8415bfd5ddd552220203ed22c93a4617e5 |
|
24-Sep-2014 |
Cyril Hrubis <chrubis@suse.cz> |
Make use of NULL Replace all (type *)0 with NULL Created with coccinelle patch: @@ type T; @@ -(T*)0 +NULL Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
371cf0a03162d0d1c2a9bb69a049a94b84312689 |
|
24-Sep-2014 |
Cyril Hrubis <chrubis@suse.cz> |
Remove returns that follows tst_exit() Removes dead code that is never executed. Created with coccinelle patch: @@ expression E; @@ tst_exit(); -return E; Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
00ca3f69134db1fee11bcc8ce2b67757ad012e9f |
|
06-May-2013 |
Riku Voipio <riku.voipio@linaro.org> |
mem: shmt: set 16kb incrediment for Aarch64 Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
354ebb48db8e66a853a58379a4808d5dcd1ceac3 |
|
07-Dec-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
cleanup code indent Cleanup the code indent using: find . -name *.c -exec Lindent {} \; It's really a big change, but can fix almost all of the indent problem in C code, although we can't ensure all of the changes are right, but the error changes are really few. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 |
|
19-Oct-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
Update FSF address find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \; find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \; Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
ec6edca7aa42b6affd989ef91b5897f96795e40f |
|
18-Oct-2012 |
Chris Dearman <chris@mips.com> |
Add missing newline at end of file This is a scripted change done using the following command: find . -type d -name .git -prune -o \ -type f \! -name \*\~ \! -name .\#\* \ \! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \ xargs -0 sed -i -e '$a\' Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
72521cf0741034f67dd17107453cda9a9819264c |
|
18-Dec-2010 |
Garrett Cooper <yanegomi@gmail.com> |
Fix more tests; remove more Tst_count externs. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
2c28215423293e443469a07ae7011135d058b671 |
|
16-Dec-2010 |
Garrett Cooper <yanegomi@gmail.com> |
Style and conformance changes. 1. Strip all leading space. 2. Move tst_exit() to main(). 3. Remove tst_exit() from cleanup(). 4. Remove cluebat comments. 5. Reduce some unnecessary whitespace. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
da124b9ea3a63ac3e42a83362a63d77fb014f1a1 |
|
13-Oct-2009 |
subrata_modak <subrata_modak> |
Just another printf cleanup: attached patch fixes some more printf formating issues as well as some coding style errors. Signed-off-by: <chrubis@suse.cz>.
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
78b191285152e160a34122748e3c342b91a6d153 |
|
15-May-2008 |
subrata_modak <subrata_modak> |
This patch modifies testcases to attach their shm segment to addresses chosen by ststem instead of arch-dependent ones. I looked into the history of these testcases, but couldn't find the reason why they specified arch-dependent addresses in the first place. If it has something to do with the page coloring issue, SHMLBA should be in some manners instead of defining arch-dependent addresses. Tested successfully on ia64, ppc64, x86_64, s390x & i386 by Subrata Modak <subrata@linux.vnet.ibm.com>, and by Martin Habets <errandir_news@mph.eclipse.co.uk> on sparc32. Signed-off-by: Roy Lee <roylee17@gmail.com>.
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
c327066ee7e16a5363c1b88a4cbb4ffe87a9475b |
|
02-May-2008 |
subrata_modak <subrata_modak> |
The fixed address passed to mmap() should be aligned to the value of SHMLBA as defined in sys/shm.h. See Documentation/cachetlb.txt in the kernel for the explanation behind this. On most architectures this value is the page size, but not on all. Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
f18fae93d84f2cc2b32245976b958d88dc945363 |
|
21-Nov-2007 |
subrata_modak <subrata_modak> |
Adds arm to the architectures where SHMBLA != PAGESIZE, submitted by Khem Raj <kraj@mvista.com>
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
1c3d609dfe37eec01e95a1372508abf44936c8a0 |
|
06-Jul-2007 |
subrata_modak <subrata_modak> |
"carmelo.amoroso@st.com" fixed the anomaly when "SHLBA != getpagesize()", like in SH architecture
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
2e2af477bcc8f849937f4eb3c846c2a45418c0eb |
|
13-Mar-2007 |
vapier <vapier> |
cleanup code
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
dc72339edc95f540faa2f3fdaad5813b4d4ef4fe |
|
13-Mar-2007 |
vapier <vapier> |
Helge Deller writes: add support for hppa
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
4798ac050135dd8f1ba354d9eb53814944eb5452 |
|
15-Nov-2006 |
mreed10 <mreed10> |
A patch by Jacky Malcles (The IA-64 architecture sets SHMLBA to 1MB and) The value of the pointer address passed to shmat being set in such a way that rounding down to the nearest multiple of SHMLBA results above the current heap.
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
457567e3cb02e24579c6d77f9295828a89264d0d |
|
15-Sep-2006 |
mreed10 <mreed10> |
Adding support for ppc64 and fixing resolving Bug # 26883
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
170e703734450d72476afb126945cb26432aca21 |
|
21-Aug-2006 |
vapier <vapier> |
Marc Tardif writes: When getting the ltp to run on sparc, I came across the following error: shmt09 1 PASS : sbrk, sbrk, shmget, shmat shmt09 2 PASS : sbrk, shmat shmat1: Invalid argument shmt09 3 FAIL : Error: shmat Failed, shmid = 294916, errno = 29 The reason for this failure is because the shmat system call is being passed an address which cannot be rounded down to the nearest multiple of SHMLBA. To demonstrate, on sparc, the following address is being calculated: vp = (void *) ((char *)sbrk(0) + 4 * K_1); Considering K_1 is a macro defined as 1024, the pointer passed to shmat is only 4096 bytes above the current heap address whereas the SHMLBA macro would require this address to be at least 8192 bytes above. I say at least because proper alignment must also be taken into account. So, there are really two problems here: First, the value of SHMLBA is being assumed in the source code and only exceptionally set for __mips__ and __ia64__. Instead, I would suggest using the actual value of SHMLBA to compute a valid pointer address. Second, the value of the pointer address passed to shmat should be set in such a way that rounding down to the nearest multiple of SHMLBA results above the current heap. To solve both issues, I have attached a patch which I have successfully tested on sparc and i386 architectures.
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
877a83b16293ba1247175b71f5c2d2ea9800a1d0 |
|
24-Aug-2004 |
robbiew <robbiew> |
Added IA64 specific code.
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
047e56b566c4cf43abdd6aee0e6e09158366e74f |
|
14-Jun-2004 |
robbiew <robbiew> |
Applied patch from Steve Hill and Gary Williams for MIPS.
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
13ac9afc168cb861b0f4ea87bbb89bbe696e3854 |
|
24-Apr-2003 |
robbiew <robbiew> |
*** empty log message ***
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
fb247a25718a0be4b4c026f87e0eb29f25160046 |
|
17-Apr-2003 |
robbiew <robbiew> |
Removed reference to uname and replaced with #ifdef __(arch)__
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
3e3ae1becdf8f939e21e3805fcb6decd96e78720 |
|
17-Apr-2003 |
robbiew <robbiew> |
Applied IA64 specific patch from Jacky.
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
a70576c4834d89f937e46698fef4114736cce4d7 |
|
04-Mar-2003 |
robbiew <robbiew> |
Removed "extern int errno" lines and replaced with "#include <errno.h>"
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
71d720de7ca11349e698e6d00452c15886c0a971 |
|
29-Jan-2003 |
robbiew <robbiew> |
Applied patch from Susanne Wintenber to allow for 64bit execution.
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|
38f7911c2ac2df13001dbe99459ebc0c973108f8 |
|
23-Dec-2002 |
robbiew <robbiew> |
Initial checkin of shared memory tests from SPIE suite.
/external/ltp/testcases/kernel/mem/shmt/shmt09.c
|