Re: [PATCH] Convert the VFS cache lock to an rmlock

From: Ryan Stone <rysto32_at_gmail.com>
Date: Thu, 12 Mar 2015 13:08:25 -0400
On Thu, Mar 12, 2015 at 12:37 PM, Adrian Chadd <adrian_at_freebsd.org> wrote:
> Do you have access to any boxes that have more than 12 cores?

I have a 14-core hyperthreaded machine (so 28 logical cores), but it has no
disk (long story).  I could do a build out of a memory disk though.

Also, to ask a stupid question - why wasn't the reader gifted a
> temporary priority boost because you were trying to acquire the write
> lock?
>

rwlocks don't have any metadata tracking what threads hold a read lock, so
it's impossible to propagate priority to them.  rwlocks only keep a counter
of the number of readers.
Received on Thu Mar 12 2015 - 16:08:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC