oom01: test OOM
A message that is not in the archive (sent off-list or not yet received): 890530690.24589.1292899563813.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com
PATCH v2 1/5 oom01: test OOM
The previous version of this can be dropped.
---
v2: code cleanup and skip 32-bit since there is no guarantee of running out of
virtual memory address space there.
testcases/kernel/mem/oom/Makefile | 24 +++++ testcases/kernel/mem/oom/oom01.c | 186 +++++++++++++++++++++++++++++++++++++ 2 files changed, 210 insertions(+), 0 deletions(-) create mode 100644 testcases/kernel/mem/oom/Makefile create mode 100644 testcases/kernel/mem/oom/oom01.c
testcases/kernel/mem/oom/Makefile new file +24 -0
@@ -0,0 +1,24 @@ +# +# Copyright (C) 2010 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See +# the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +top_srcdir ?= ../../../.. + +include $(top_srcdir)/include/mk/testcases.mk +include $(top_srcdir)/include/mk/generic_leaf_target.mk + +LDLIBS += $(NUMA_LIBS)
testcases/kernel/mem/oom/oom01.c new file +186 -0
186 lines not on this page · raw message
Signature · 1 line
1.7.3.2
From 98107ef33f962c52d7c3acec3383882028e0ee37 Mon Sep 17 00:00:00 2001
From: CAI Qian <[email protected]>
Date: Tue, 21 Dec 2010 10:31:53 +0800
Subject: [PATCH v2 1/5] oom01: test OOM
The previous version of this can be dropped.
---
v2: code cleanup and skip 32-bit since there is no guarantee of running out of
virtual memory address space there.
testcases/kernel/mem/oom/Makefile | 24 +++++ testcases/kernel/mem/oom/oom01.c | 186 +++++++++++++++++++++++++++++++++++++ 2 files changed, 210 insertions(+), 0 deletions(-) create mode 100644 testcases/kernel/mem/oom/Makefile create mode 100644 testcases/kernel/mem/oom/oom01.c
testcases/kernel/mem/oom/Makefile new file +24 -0
@@ -0,0 +1,24 @@ +# +# Copyright (C) 2010 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See +# the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +top_srcdir ?= ../../../.. + +include $(top_srcdir)/include/mk/testcases.mk +include $(top_srcdir)/include/mk/generic_leaf_target.mk + +LDLIBS += $(NUMA_LIBS)
testcases/kernel/mem/oom/oom01.c new file +186 -0
186 lines not on this page · raw message
Signature · 1 line
1.7.3.2
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
testcases/kernel/mem/oom/oom01.c line 71
Quoted 3 lines
testcases/kernel/mem/oom/oom01.c new file +3
-0+ msg =parse_opts (argc, argv,NULL ,NULL ); +if (msg != (char *)NULL ) +tst_brkm (TBROK , tst_exit,"OPTION PARSING ERROR - %s" , msg);
The cast to char* is useless, please remove it.
Signature · 13 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list