Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Darren Hart
On Tue, May 12, 2015 at 03:21:12PM -0600, Shuah Khan wrote: > On 05/12/2015 03:17 PM, Shuah Khan wrote: > > On 05/12/2015 02:54 PM, Darren Hart wrote: > >> On 5/12/15, 1:40 PM, "Shuah Khan" wrote: > >> > >>> On 05/12/2015 02:15 PM, Darren Hart wrote: > On 5/12/15, 1:05 PM, "Cyril Hrubis" wro

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Shuah Khan
On 05/12/2015 03:17 PM, Shuah Khan wrote: > On 05/12/2015 02:54 PM, Darren Hart wrote: >> On 5/12/15, 1:40 PM, "Shuah Khan" wrote: >> >>> On 05/12/2015 02:15 PM, Darren Hart wrote: On 5/12/15, 1:05 PM, "Cyril Hrubis" wrote: > Hi! I'm happy to do that, but I would like to ma

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Shuah Khan
On 05/12/2015 02:54 PM, Darren Hart wrote: > On 5/12/15, 1:40 PM, "Shuah Khan" wrote: > >> On 05/12/2015 02:15 PM, Darren Hart wrote: >>> On 5/12/15, 1:05 PM, "Cyril Hrubis" wrote: >>> Hi! >>> I'm happy to do that, but I would like to make sure I'm doing the > right >>> thing. >

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Darren Hart
On 5/12/15, 1:40 PM, "Shuah Khan" wrote: >On 05/12/2015 02:15 PM, Darren Hart wrote: >> On 5/12/15, 1:05 PM, "Cyril Hrubis" wrote: >> >>> Hi! >> I'm happy to do that, but I would like to make sure I'm doing the right >> thing. > > The right thing here is to add -pthread to

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Shuah Khan
On 05/12/2015 02:15 PM, Darren Hart wrote: > On 5/12/15, 1:05 PM, "Cyril Hrubis" wrote: > >> Hi! > I'm happy to do that, but I would like to make sure I'm doing the >>> right > thing. The right thing here is to add -pthread to CFLAGS which sets both flags for preprocessor a

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Darren Hart
On 5/12/15, 1:05 PM, "Cyril Hrubis" wrote: >Hi! >> >> I'm happy to do that, but I would like to make sure I'm doing the >>right >> >> thing. >> > >> >The right thing here is to add -pthread to CFLAGS which sets both flags >> >for preprocessor and linker (see man gcc). >> >> Hi Cyril, >> >> Than

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Cyril Hrubis
Hi! > >> I'm happy to do that, but I would like to make sure I'm doing the right > >> thing. > > > >The right thing here is to add -pthread to CFLAGS which sets both flags > >for preprocessor and linker (see man gcc). > > Hi Cyril, > > Thanks. I read that, and mentioned it, but my concern with -p

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Shuah Khan
On 05/12/2015 11:05 AM, Darren Hart wrote: > On Tue, May 12, 2015 at 10:47:14AM -0600, Shuah Khan wrote: >> On 05/12/2015 10:10 AM, Darren Hart wrote: >>> On 5/12/15, 3:02 AM, "Cyril Hrubis" wrote: >>> Hi! > I'm happy to do that, but I would like to make sure I'm doing the right > thi

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Darren Hart
On Tue, May 12, 2015 at 10:47:14AM -0600, Shuah Khan wrote: > On 05/12/2015 10:10 AM, Darren Hart wrote: > > On 5/12/15, 3:02 AM, "Cyril Hrubis" wrote: > > > >> Hi! > >>> I'm happy to do that, but I would like to make sure I'm doing the right > >>> thing. > >> > >> The right thing here is to add

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Shuah Khan
On 05/12/2015 10:10 AM, Darren Hart wrote: > On 5/12/15, 3:02 AM, "Cyril Hrubis" wrote: > >> Hi! >>> I'm happy to do that, but I would like to make sure I'm doing the right >>> thing. >> >> The right thing here is to add -pthread to CFLAGS which sets both flags >> for preprocessor and linker (see

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Darren Hart
On 5/12/15, 3:02 AM, "Cyril Hrubis" wrote: >Hi! >> I'm happy to do that, but I would like to make sure I'm doing the right >> thing. > >The right thing here is to add -pthread to CFLAGS which sets both flags >for preprocessor and linker (see man gcc). Hi Cyril, Thanks. I read that, and mentione

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Cyril Hrubis
Hi! > I'm happy to do that, but I would like to make sure I'm doing the right > thing. The right thing here is to add -pthread to CFLAGS which sets both flags for preprocessor and linker (see man gcc). -- Cyril Hrubis chru...@suse.cz -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-11 Thread John Stultz
On Mon, May 11, 2015 at 4:07 PM, Darren Hart wrote: > On 5/11/15, 3:21 PM, "Shuah Khan" wrote: > >No need for a new pull request. Have you seen these errors before: > >make[2]: Entering directory >'/mnt/data/lkml/linux-kselftest/tools/testing/selftests/futex' >for DIR in funct

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-11 Thread Darren Hart
On 5/11/15, 3:21 PM, "Shuah Khan" wrote: No need for a new pull request. Have you seen these errors before: make[2]: Entering directory '/mnt/data/lkml/linux-kselftest/tools/testing/selftests/futex' for DIR in functional; do make -C $DIR all ; done make[3]: Entering direc

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-11 Thread Shuah Khan
On 05/11/2015 04:21 PM, Shuah Khan wrote: > On 05/11/2015 03:50 PM, Darren Hart wrote: >> On 5/11/15, 1:51 PM, "Shuah Khan" wrote: >> >>> On 05/11/2015 01:47 PM, Darren Hart wrote: On 5/11/15, 11:55 AM, "Shuah Khan" wrote: > On 05/11/2015 12:22 PM, Darren Hart wrote: >> On 5/11/

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-11 Thread Shuah Khan
On 05/11/2015 03:50 PM, Darren Hart wrote: > On 5/11/15, 1:51 PM, "Shuah Khan" wrote: > >> On 05/11/2015 01:47 PM, Darren Hart wrote: >>> On 5/11/15, 11:55 AM, "Shuah Khan" wrote: >>> On 05/11/2015 12:22 PM, Darren Hart wrote: > On 5/11/15, 11:06 AM, "Shuah Khan" wrote: > >> On

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-11 Thread Darren Hart
On 5/11/15, 1:51 PM, "Shuah Khan" wrote: >On 05/11/2015 01:47 PM, Darren Hart wrote: >> On 5/11/15, 11:55 AM, "Shuah Khan" wrote: >> >>> On 05/11/2015 12:22 PM, Darren Hart wrote: On 5/11/15, 11:06 AM, "Shuah Khan" wrote: > On 05/08/2015 04:09 PM, Darren Hart wrote: >> The fu

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-11 Thread Shuah Khan
On 05/11/2015 01:47 PM, Darren Hart wrote: > On 5/11/15, 11:55 AM, "Shuah Khan" wrote: > >> On 05/11/2015 12:22 PM, Darren Hart wrote: >>> On 5/11/15, 11:06 AM, "Shuah Khan" wrote: >>> On 05/08/2015 04:09 PM, Darren Hart wrote: > The futextest testsuite [1] provides functional, stress,

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-11 Thread Darren Hart
On 5/11/15, 11:55 AM, "Shuah Khan" wrote: >On 05/11/2015 12:22 PM, Darren Hart wrote: >> On 5/11/15, 11:06 AM, "Shuah Khan" wrote: >> >>> On 05/08/2015 04:09 PM, Darren Hart wrote: The futextest testsuite [1] provides functional, stress, and performance tests for the various futex op

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-11 Thread Shuah Khan
On 05/11/2015 12:22 PM, Darren Hart wrote: > On 5/11/15, 11:06 AM, "Shuah Khan" wrote: > >> On 05/08/2015 04:09 PM, Darren Hart wrote: >>> The futextest testsuite [1] provides functional, stress, and >>> performance tests for the various futex op codes. Those tests will be of >>> more use to fute

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-11 Thread Darren Hart
On 5/11/15, 11:06 AM, "Shuah Khan" wrote: >On 05/08/2015 04:09 PM, Darren Hart wrote: >> The futextest testsuite [1] provides functional, stress, and >> performance tests for the various futex op codes. Those tests will be of >> more use to futex developers if they are included with the kernel >>

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-11 Thread Shuah Khan
On 05/08/2015 04:09 PM, Darren Hart wrote: > The futextest testsuite [1] provides functional, stress, and > performance tests for the various futex op codes. Those tests will be of > more use to futex developers if they are included with the kernel > source. > > Copy the core infrastructure and th

[PATCH 1/5] selftests: Add futex functional tests

2015-05-08 Thread Darren Hart
The futextest testsuite [1] provides functional, stress, and performance tests for the various futex op codes. Those tests will be of more use to futex developers if they are included with the kernel source. Copy the core infrastructure and the functional tests into selftests, but adapt them for i

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-06 Thread Darren Hart
On 5/6/15, 10:28 AM, "Shuah Khan" wrote: >On 03/27/2015 04:17 PM, Darren Hart wrote: >> The futextest testsuite [1] provides functional, stress, and >> performance tests for the various futex op codes. Those tests will be of >> more use to futex developers if they are included with the kernel >>

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-06 Thread Shuah Khan
On 03/27/2015 04:17 PM, Darren Hart wrote: > The futextest testsuite [1] provides functional, stress, and > performance tests for the various futex op codes. Those tests will be of > more use to futex developers if they are included with the kernel > source. > > Copy the core infrastructure and th

[PATCH 1/5] selftests: Add futex functional tests

2015-03-27 Thread Darren Hart
The futextest testsuite [1] provides functional, stress, and performance tests for the various futex op codes. Those tests will be of more use to futex developers if they are included with the kernel source. Copy the core infrastructure and the functional tests into selftests. Remove reference to