futex: Add benchmark for futexes

Plug futex bench into mmtests. Specifically, introduce 4 new drivers:
  o futexbench-common: run all futexbench workloads.
  o futexbench-<workload> : where <workload> = hash, wake, requeue

Combination of workloads can be passed with the --workload parameter.
Given that the futex benchmarks already uses good defaults (num threads
and run repeats), reports can safely rely on the final avg without
any further processing/statistics. Furthermore, add the new benchmark
to the 'configs/config-default' file.

Sample output with compare-kernels.sh (16 threads, not too interesting):

futexbench-common

                                    3.17.0-rc7            3.17.0-rc7
                                  next-20141002
Tput hash (16 threads)     2594770.00 (  0.00%)  2587673.00 ( -0.27%)
Tput wake (16 threads)           0.03 (  0.00%)        0.03 ( -5.37%)
Tput requeue (16 threads)        0.01 (  0.00%)        0.01 (-15.44%)

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
futex: Move futex benchmark into separate configuration

Signed-off-by: Mel Gorman <mgorman@suse.de>
futex: Fix futexbench templates

The templates could not be used for generating the scripts in shellpacks/.
It looks like the scripts were fixed up manually after they were initially
created. This patch fixes up the templates a bit.

Signed-off-by: Mel Gorman <mgorman@suse.de>
futex: Fix tab vs whitespace damage

Signed-off-by: Mel Gorman <mgorman@suse.de>
futex: Correct typo on Futexbenchwake reporting modules

Signed-off-by: Mel Gorman <mgorman@suse.de>