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"

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

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

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, >> >>

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

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 >

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

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

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

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

2015-05-12 Thread Darren Hart
On 5/12/15, 3:02 AM, Cyril Hrubis chru...@suse.cz 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

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 chru...@suse.cz 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

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 chru...@suse.cz 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 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 -pthread in the

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 chru...@suse.cz 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 Shuah Khan
On 05/12/2015 02:54 PM, Darren Hart wrote: On 5/12/15, 1:40 PM, Shuah Khan shua...@osg.samsung.com wrote: On 05/12/2015 02:15 PM, Darren Hart wrote: On 5/12/15, 1:05 PM, Cyril Hrubis chru...@suse.cz 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 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 shua...@osg.samsung.com wrote: On 05/12/2015 02:15 PM, Darren Hart wrote: On 5/12/15, 1:05 PM, Cyril Hrubis chru...@suse.cz wrote: Hi! I'm happy to do that, but I would like

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

2015-05-12 Thread Darren Hart
On 5/12/15, 1:05 PM, Cyril Hrubis chru...@suse.cz 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

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

2015-05-12 Thread Darren Hart
On 5/12/15, 1:40 PM, Shuah Khan shua...@osg.samsung.com wrote: On 05/12/2015 02:15 PM, Darren Hart wrote: On 5/12/15, 1:05 PM, Cyril Hrubis chru...@suse.cz 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 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 chru...@suse.cz wrote: Hi! I'm happy to do that, but I would like to make sure I'm doing the right thing. The

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

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 shua...@osg.samsung.com wrote: On 05/12/2015 02:15 PM, Darren Hart wrote: On 5/12/15, 1:05 PM, Cyril Hrubis

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

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

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

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: > >>

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

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

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

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 the

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

2015-05-11 Thread Darren Hart
On 5/11/15, 11:06 AM, Shuah Khan shua...@osg.samsung.com 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

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 shua...@osg.samsung.com 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

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

2015-05-11 Thread Darren Hart
On 5/11/15, 1:51 PM, Shuah Khan shua...@osg.samsung.com wrote: On 05/11/2015 01:47 PM, Darren Hart wrote: On 5/11/15, 11:55 AM, Shuah Khan shua...@osg.samsung.com wrote: On 05/11/2015 12:22 PM, Darren Hart wrote: On 5/11/15, 11:06 AM, Shuah Khan shua...@osg.samsung.com wrote: On 05/08/2015

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

2015-05-11 Thread Darren Hart
On 5/11/15, 11:55 AM, Shuah Khan shua...@osg.samsung.com wrote: On 05/11/2015 12:22 PM, Darren Hart wrote: On 5/11/15, 11:06 AM, Shuah Khan shua...@osg.samsung.com wrote: On 05/08/2015 04:09 PM, Darren Hart wrote: The futextest testsuite [1] provides functional, stress, and performance

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 shua...@osg.samsung.com wrote: On 05/11/2015 12:22 PM, Darren Hart wrote: On 5/11/15, 11:06 AM, Shuah Khan shua...@osg.samsung.com wrote: On 05/08/2015 04:09 PM, Darren Hart wrote: The futextest testsuite [1]

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 shua...@osg.samsung.com wrote: On 05/11/2015 01:47 PM, Darren Hart wrote: On 5/11/15, 11:55 AM, Shuah Khan shua...@osg.samsung.com wrote: On 05/11/2015 12:22 PM, Darren Hart

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

2015-05-11 Thread Darren Hart
On 5/11/15, 3:21 PM, Shuah Khan shua...@osg.samsung.com 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

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 shua...@osg.samsung.com wrote: On 05/11/2015 01:47 PM, Darren Hart wrote: On 5/11/15, 11:55 AM, Shuah Khan shua...@osg.samsung.com wrote: On 05/11/2015 12:22 PM, Darren Hart wrote: On 5/11/15, 11:06 AM, Shuah Khan

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 dvh...@linux.intel.com wrote: On 5/11/15, 3:21 PM, Shuah Khan shua...@osg.samsung.com 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'

[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

[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

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

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

2015-05-06 Thread Darren Hart
On 5/6/15, 10:28 AM, Shuah Khan shua...@osg.samsung.com 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

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 the

[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

[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