From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1SyIUY-0006fT-JG for ltp-list@lists.sourceforge.net; Mon, 06 Aug 2012 08:16:46 +0000 Received: from mx4-phx2.redhat.com ([209.132.183.25]) by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1SyIUU-0007Yi-Gb for ltp-list@lists.sourceforge.net; Mon, 06 Aug 2012 08:16:46 +0000 Date: Mon, 6 Aug 2012 04:16:33 -0400 (EDT) From: Jan Stancek Message-ID: <431447144.362760.1344240993345.JavaMail.root@redhat.com> In-Reply-To: <96093aba8085f69a363602f30da5669334ef9b44.1344234636.git.caspar@casparzhang.com> MIME-Version: 1.0 Subject: Re: [LTP] [PATCH v2 2/2] mm: use new numa_helper List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Caspar Zhang Cc: LTP List Hi Caspar, There seems to be a typo in vma02.c and vma04.c: "err = -3" + } else { + err = get_allowed_nodes(NH_MEMS|NH_MEMS, 1, &node); + if (err = -3) + tst_brkm(TCONF, NULL, "requires at least one node."); also in vma04.c, ret variable is not used, so perhaps it can be removed: + int lc, node, ret, err; Regards, Jan ----- Original Message ----- > From: "Caspar Zhang" > To: "LTP List" > Sent: Monday, 6 August, 2012 8:30:51 AM > Subject: [LTP] [PATCH v2 2/2] mm: use new numa_helper > > > This patch makes the tests in mem/ dir use numa_helper in > libkerntest. > > Signed-off-by: Caspar Zhang > --- > testcases/kernel/mem/cpuset/Makefile | 1 + > testcases/kernel/mem/cpuset/cpuset01.c | 16 ++++---- > testcases/kernel/mem/hugetlb/Makefile.inc | 1 + > testcases/kernel/mem/hugetlb/hugemmap/Makefile | 1 + > testcases/kernel/mem/include/mem.h | 2 +- > testcases/kernel/mem/ksm/Makefile | 1 + > testcases/kernel/mem/ksm/ksm02.c | 9 ++-- > testcases/kernel/mem/ksm/ksm04.c | 9 ++-- > testcases/kernel/mem/lib/Makefile | 1 + > testcases/kernel/mem/lib/mem.c | 50 > ++++++++++++++++-------- > testcases/kernel/mem/oom/Makefile | 1 + > testcases/kernel/mem/oom/oom02.c | 4 -- > testcases/kernel/mem/oom/oom04.c | 4 -- > testcases/kernel/mem/swapping/Makefile | 1 + > testcases/kernel/mem/thp/Makefile | 1 + > testcases/kernel/mem/tunable/Makefile | 1 + > testcases/kernel/mem/vma/Makefile | 3 +- > testcases/kernel/mem/vma/vma02.c | 19 ++++++--- > testcases/kernel/mem/vma/vma04.c | 11 ++++- > 19 files changed, 81 insertions(+), 55 deletions(-) > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Ltp-list mailing list > Ltp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ltp-list > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list