On Thu, 2016-06-02 at 22:02 +1000, Michael Ellerman wrote:
> +
> +int test_futex(void)
> +{
> +     struct timespec ts_start, ts_end;
> +        unsigned long i = ITERATIONS;
> +
> +     clock_gettime(CLOCK_MONOTONIC, &ts_start);
> +
> +        while (i--) {
> +                unsigned int addr = 0;
> +                futex(&addr, FUTEX_WAKE, 1, NULL, NULL, 0);
> +        }

Ugh, I can't even ..

Obviously I'll fix up the whitespace before committing.

cheers

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to