Re: [PATCH 11/12] rwsem: wake all readers when first waiter is areader

From: Ingo Molnar
Date: Mon Mar 11 2013 - 03:50:33 EST



* Dave Chinner <david@xxxxxxxxxxxxx> wrote:

> So, that's my concern - we've got 20 years of algorithms in XFS designed
> around rwsem write locks providing read-side barriers, and it's been
> down this road once before (over 15 years ago). [...]

We are certainly not going to break reader/writer fairness - that's a must
for any generic, long-held reader-writer locking mechanism.

Thanks,

Ingo
--
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/