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

David Howells
2001-09-19T23:24:29Z

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

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

[-- Attachment #2: rwsem-unfair-2.diff --]
[-- Type: application/octet-stream, Size: 10325 bytes --]