Re: [LTP] [PATCH] mm/oom05: new testcase

2012-06-28 Thread Zhouping Liu
Hi, - Original Message - > From: "Wanlong Gao" > To: "Zhouping Liu" > Cc: "LTP List" , "Jan Stancek" > > Sent: Friday, June 29, 2012 10:39:57 AM > Subject: Re: [LTP] [PATCH] mm/oom05: new testcase > > On 06/29/2012 10:23 AM, Zhouping Liu wrote: > > Hi, > > > > - Original Message

Re: [LTP] [PATCH v2 0/3] add CMA test

2012-06-28 Thread Wanlong Gao
On 06/29/2012 11:02 AM, Wanlong Gao wrote: > On 05/22/2012 10:17 PM, Jan Stancek wrote: >> changes in v2 >> - dropped configure check as glibc wrapper calls syscall directly, >> and using syscall(2) we can test also when glibc wrappers are missing >> - added simplified process_vm.h >> >> CMA (cro

Re: [LTP] [PATCH v3 1/3] add testcases/kernel/syscalls/cma

2012-06-28 Thread Wanlong Gao
On 06/11/2012 10:09 PM, Jan Stancek wrote: > > add directory structure for tests related to syscalls: > process_vm_readv > process_vm_writev > > Signed-off-by: Jan Stancek > --- > testcases/kernel/syscalls/cma/Makefile | 22 > > .../kernel/syscalls/cma/proces

Re: [LTP] [PATCH v2 0/3] add CMA test

2012-06-28 Thread Wanlong Gao
On 05/22/2012 10:17 PM, Jan Stancek wrote: > changes in v2 > - dropped configure check as glibc wrapper calls syscall directly, > and using syscall(2) we can test also when glibc wrappers are missing > - added simplified process_vm.h > > CMA (cross memory attach) feature introduced 2 new syscall

Re: [LTP] [PATCH] mm/oom05: new testcase

2012-06-28 Thread Wanlong Gao
On 06/29/2012 10:23 AM, Zhouping Liu wrote: > Hi, > > - Original Message - >> From: "Zhouping Liu" >> To: "LTP List" >> Sent: Tuesday, June 26, 2012 11:57:35 PM >> Subject: [LTP] [PATCH] mm/oom05: new testcase >> >> add a new testcase to test OOM on each NUMA node > > I have tested it

Re: [LTP] [PATCH] mm/oom05: new testcase

2012-06-28 Thread Zhouping Liu
Hi, - Original Message - > From: "Zhouping Liu" > To: "LTP List" > Sent: Tuesday, June 26, 2012 11:57:35 PM > Subject: [LTP] [PATCH] mm/oom05: new testcase > > add a new testcase to test OOM on each NUMA node I have tested it in several systems with 2 NUMA nodes and 8 NUMA nodes, they

Re: [LTP] [PATCH] runltp: fix the wrong parsing -b option

2012-06-28 Thread Wanlong Gao
On 06/29/2012 10:13 AM, Garrett Cooper wrote: > On Tue, Jun 26, 2012 at 1:26 AM, Wanlong Gao > wrote: >> On 06/22/2012 10:35 AM, Wanlong Gao wrote: >>> Maybe a typo when replacing DEVICE_FS_TYPE. >> >> Objections, Cooper? >> There isn't any other places have this odd statement in this file >> lik

Re: [LTP] [PATCH] runltp: fix the wrong parsing -b option

2012-06-28 Thread Garrett Cooper
On Tue, Jun 26, 2012 at 1:26 AM, Wanlong Gao wrote: > On 06/22/2012 10:35 AM, Wanlong Gao wrote: >> Maybe a typo when replacing DEVICE_FS_TYPE. > > Objections, Cooper? > There isn't any other places have this odd statement in this file > like here. LGTM. Reviewed-by: Garrett Cooper ---

Re: [LTP] [PATCH v2 0/4] dont use hardcoded NUMA node ids

2012-06-28 Thread Wanlong Gao
On 06/28/2012 05:03 PM, Jan Stancek wrote: > > Changes in v2: > get_allowed_pages() > - removed tst_resm(TFAIL,..) > - added break > - for ret == -3, set errno to EINVAL > move_pages_support.c > - check return value from get_allowed_nodes_arr() > mbind, get_mempolicy, move_pages > - removed curly

Re: [LTP] [PATCH 0/3] some fix for aio related cases

2012-06-28 Thread Wanlong Gao
On 06/27/2012 04:26 PM, Kang Kai wrote: > Hi, > > These patches are for aio cases. pushed, thank you. Wanlong Gao > > Regards, > Kai > > Kang Kai (3): > aio_cancel/4-1: fails on routerstation randomly > aio_read/9-1: check aio resource limitation > aio_write/7-1: check aio resource limi

Re: [LTP] [PATCH 09/21] realtime/lib/Makefile: Fix path for config.mk

2012-06-28 Thread chrubis
Hi! What about attached patch? -- Cyril Hrubis chru...@suse.cz >From 36ae7233c9606b78edcb2ca0eaf1a0a926cbd470 Mon Sep 17 00:00:00 2001 From: Cyril Hrubis Date: Wed, 20 Jun 2012 17:14:57 +0200 Subject: [PATCH 1/3] Fix realtime build. Signed-off-by: Cyril Hrubis --- testcases/realtime/lib/Makef

[LTP] [PATCH v2 4/4] move_pages: dont use hardcoded NUMA node ids

2012-06-28 Thread Jan Stancek
Signed-off-by: Jan Stancek --- testcases/kernel/syscalls/move_pages/Makefile |5 +- .../kernel/syscalls/move_pages/move_pages02.c | 11 +++-- .../kernel/syscalls/move_pages/move_pages03.c | 11 +++-- .../kernel/syscalls/move_pages/move_pages04.c | 11 +++-- .../kern

[LTP] [PATCH v2 3/4] get_mempolicy01: dont use hardcoded NUMA node ids

2012-06-28 Thread Jan Stancek
Signed-off-by: Jan Stancek --- testcases/kernel/syscalls/get_mempolicy/Makefile |7 ++- .../syscalls/get_mempolicy/get_mempolicy01.c |8 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/testcases/kernel/syscalls/get_mempolicy/Makefile b/testcases/kernel

[LTP] [PATCH v2 1/4] add libnuma_helper

2012-06-28 Thread Jan Stancek
A library to share NUMA helper functions shared by multiple testcases. Signed-off-by: Jan Stancek --- testcases/kernel/syscalls/numa/Makefile | 22 testcases/kernel/syscalls/numa/Makefile.inc | 27 + testcases/kernel/syscalls/numa/lib/Makefile | 26 testca

[LTP] [PATCH v2 2/4] mbind01: dont use hardcoded NUMA node ids

2012-06-28 Thread Jan Stancek
Signed-off-by: Jan Stancek --- testcases/kernel/syscalls/mbind/Makefile |3 +-- testcases/kernel/syscalls/mbind/mbind01.c |9 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/testcases/kernel/syscalls/mbind/Makefile b/testcases/kernel/syscalls/mbind/Makefile inde

[LTP] [PATCH v2 0/4] dont use hardcoded NUMA node ids

2012-06-28 Thread Jan Stancek
Changes in v2: get_allowed_pages() - removed tst_resm(TFAIL,..) - added break - for ret == -3, set errno to EINVAL move_pages_support.c - check return value from get_allowed_nodes_arr() mbind, get_mempolicy, move_pages - removed curly brackets in single statement ifs This patch series is a combin

Re: [LTP] [PATCH v2 0/4] dont use hardcoded NUMA node ids

2012-06-28 Thread Jan Stancek
- Original Message - > From: "Wanlong Gao" > To: "Jan Stancek" > Cc: ltp-list@lists.sourceforge.net > Sent: Thursday, 28 June, 2012 9:36:49 AM > Subject: Re: [LTP] [PATCH v2 0/4] dont use hardcoded NUMA node ids > > On 06/28/2012 03:29 PM, Jan Stancek wrote: > > Hi, > > > > any though

Re: [LTP] [PATCH v2 0/4] dont use hardcoded NUMA node ids

2012-06-28 Thread Wanlong Gao
On 06/28/2012 03:29 PM, Jan Stancek wrote: > Hi, > > any thoughts on this version? Hi Jan, you sent many series of patches, but it's hard to find out that which patch belongs to this series. So, can you send patch set like this. [0]-xxx |_[1]x |_

Re: [LTP] [PATCH v2 0/4] dont use hardcoded NUMA node ids

2012-06-28 Thread Jan Stancek
Hi, any thoughts on this version? Regards, Jan On 05/29/2012 10:29 AM, Jan Stancek wrote: > Changes in v2: > get_allowed_pages() > - removed tst_resm(TFAIL,..) > - added break > - for ret == -3, set errno to EINVAL > move_pages_support.c > - check return value from get_allowed_nodes_arr() > mbin