Re: [LTP] numastats updates

2014-04-06 Thread Andi Kleen
On Thu, Apr 03, 2014 at 02:45:27PM +0400, Stanislav Kholmanskikh wrote: > In LTP we have a test - numa01.sh > (https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/numa/numa01.sh) numactl has similar tests > > In general, this script does something like: > * numastat > /tmp/

Re: [LTP] [RFC] make mce-test a submodule

2012-03-16 Thread Andi Kleen
On Fri, Mar 16, 2012 at 03:27:44PM +0800, Caspar Zhang wrote: > Hi all, I'll merge this change to master if I don't hear any objections > from you by today. Fine for me. Copying Gong Chen who did most of the mce-test work recently too. -Andi > > > On 03/09/2012 08:25 AM, Wanlong Gao wrote: > >

Re: [LTP] [PATCH] Add make 3.80 $(abspath ) and $(realpath ) emulation scripts

2010-01-16 Thread Andi Kleen
Thanks for fixing that! -Andi -- a...@linux.intel.com -- Speaking for myself only. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportuni

[LTP] LTP 20091031 Makefiles totally broken?!?

2009-11-06 Thread Andi Kleen
I ran configure, which seems to spend 99% of its time checking for stuff that is always there on any Linux, and after that I just get # make make: `testcases/realtime/configure' is up to date. # Can we please have the old Makefiles back? Thanks, -Andi -- a...@linux.intel.com -- Speaking for

[LTP] ./testcases/kernel/hotplug/memory_hotplug in LTP vs memtoy

2009-10-06 Thread Andi Kleen
Subrata, Lee, I was looking at ltp/testcases/kernel/hotplug/memory_hotplug/ in LTP and it seems to be just a outdated copy of Lee's memtoy NUMA tester, which does not really test any memory hotadd, just NUMA policies. The ChangeLog just says CPU and MEMORY HOTPLUG test cases picked up from

[LTP] msgctl10 zombie attack

2009-01-09 Thread Andi Kleen
When running ltp 20081231 msgctl10 on 2.6.28/opensuse 11.0 generates an endless zombie loop. I found that system had load average 1886 and was somewhat unresponsive. -Andi -- a...@linux.intel.com -- Check out the new

[LTP] LTP download link

2009-01-09 Thread Andi Kleen
And I have one request: LTP used to have a nice download link to the tarball of the latest release on http://ltp.sourceforge.net At some point this disappeared and one now has to navigate to the project page. I often install LTP on systems and they typically don't have X, so I do the download w

[LTP] [PATCH] LTP build fixes

2009-01-09 Thread Andi Kleen
Hi, I needed the following patches to make LTP 20081231 build on a 16 thread opensuse 11.0 system. The first two are because my system doesn't have sys/capability.h, but surprisingly these programs build fine even without it. The last hunk fixes a makefile dependency bug that broke the build her

Re: [LTP] [RFC] Test cases for getcpu() system call

2008-08-22 Thread Andi Kleen
On Fri, Aug 22, 2008 at 04:45:09PM +0530, Sharyathi Nagesh wrote: > more error checks, but if it is moving vsyscall way I dont think there > is any scope for error checking. I will remove this test > > > >More interesting would be to test on more CPUs for example, > >as in extending getcpu1 to cy

Re: [LTP] [RFC] Test cases for getcpu() system call

2008-08-22 Thread Andi Kleen
On Fri, Aug 22, 2008 at 03:19:05PM +0530, Sharyathi Nagesh wrote: > Hi > > > >Sorry for the late feedback. I don't understand what you're > >testing in getcpu2 -- getcpu() has no input arguments (except > >for the cache). So why do you expect it to fail with 0xff? > > > >-Andi > Andi > getcpu2 is

Re: [LTP] [RFC] Test cases for getcpu() system call

2008-08-21 Thread Andi Kleen
On Wed, Jul 23, 2008 at 11:59:53AM +0530, Sharyathi Nagesh wrote: > Hi > I have developed 2 test cases for getcpu() system call, Test cases > check minimal functionality of getcpu(). These test cases have a > requirement of kernel 2.6.20 and above and glibc 2.6 and above. > Currently

Re: [LTP] [Fwd: Re: : Test Case Design for move_pages()]]

2008-07-02 Thread Andi Kleen
his check seems unfortunate because the syscall might be backported. > > Andi, this can be Ok for the time being. Actually we do this for lot of > tests in LTP. Then it's wrong everywhere. > Meanwhile, when the syscall gets backported we can reduce > this value as well. Better fix it in advance

Re: [LTP] [Fwd: Re: : Test Case Design for move_pages()]]

2008-06-30 Thread Andi Kleen
> +void > +verify_pages_on_nodes(int *status, unsigned int num, int *nodes) > +{ > + unsigned int i; > + > + for (i = 0; i < num; i++) { > + if (status[i] != nodes[i]) { > + tst_resm(TFAIL, "page %d on node %d, " > + "expected on

[LTP] [PATCH] Fix inotify02 compilation was old include files

2007-10-25 Thread Andi Kleen
Old kernel includes don't necessarily have IN_MOVE_SELF -Andi diff -u testcases/kernel/syscalls/inotify/inotify02.c-o testcases/kernel/syscalls/inotify/inotify02.c --- testcases/kernel/syscalls/inotify/inotify02.c-o 2007-10-25 12:04:58.0 +0200 +++ testcases/kernel/syscalls/inotify/

Re: [LTP] [ANNOUNCE] GCOV & LCOV Packages Released

2007-08-22 Thread Andi Kleen
Subrata Modak <[EMAIL PROTECTED]> writes: > New GCOV and LCOV Packages(Patches) has been released and the same can > picked up from: > https://sourceforge.net/project/showfiles.php?group_id=3382 > The older releases has been moved to LCOV-Archives and Gcov-Kernel-Archives. Have you considered sub