Re: locking: Add kselftests for ww_mutex

From: Geert Uytterhoeven
Date: Wed Feb 22 2017 - 09:30:00 EST


Hi Chris,

On Thu, Dec 1, 2016 at 12:47 PM, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> Nicolai HÃhnle was looking into a deadlock within ww_mutexes (that has
> been fixed by Peter's mutex rewrite) and to support his changes, I
> thought it was be useful to have a small validation suite for ww_mutex.

How long do these selftests typically take?
Do they need multiple CPU cores, lots of memory?
I.e. after how much time without any output should I start to worry
(on an emulated
Atari running Linux/m68k ;-)?

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds