Messages in this thread |  | | | Date | Thu, 21 Aug 2008 08:06:50 -0700 | | From | "Jared Hulbert" <> | | Subject | Re: [PATCH 04/10] AXFS: axfs_inode.c |
| |
> Have you seen any benefit of the rwsem over a simple mutex? I would guess > that you can never even get into the situation where you get concurrent > readers since I haven't found a single down_read() in your code, only > downgrade_write()
We implemented a rwsem here because you can get concurrent readers. My understanding is that downgrade_write() puts the rewem into the same state as down_read(). Am I mistaken?
|  |