[PATCH] attempt #2 (Re: Deadlock on the mm->mmap_sem)

From: David Howells (dhowells@redhat.com)
Date: Wed Sep 19 2001 - 18:24:29 EST


Here's a revised patch to make rwsems unfair. This makes the activity counter
a long (so it can handle up to 2^63 readers on a 64-bit arch) and fixes a
small bug in the lib/rwsem.c file. This now passes all the rwsem tests that
I've got.

David



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



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:34 EST