[PATCH 0/2] futex: requeue_pi lock steal deadlock fixes

From: Darren Hart
Date: Wed Aug 05 2009 - 17:59:09 EST


[resend: quilt mail wasn't making it to the lists for some reason]

The following patch series addresses a deadlock and a race related to the
newly introduced requeue_pi futex op codes. I discovered this while running
I modified version of pthread_cond_many from ltp/testcases/realtime (with a PI
aware mutex) and a patched glibc (for new futex op codes). These patches fix
the deadlock and close the race window considerably - but not 100%. My test
case, however, now runs to completion without deadlock, and without triggering
the pi_state related WARN_ON()'s.

--
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/