Re: [PATCH v5 3/3] locking/rwsem: Optimize down_read_trylock()

From: Linus Torvalds
Date: Fri Mar 22 2019 - 13:08:50 EST


On Fri, Mar 22, 2019 at 7:30 AM Waiman Long <longman@xxxxxxxxxx> wrote:
>
> Modify __down_read_trylock() to optimize for an unlocked rwsem and make
> it generate slightly better code.

Oh, that should teach me to read all patches in the series before
starting to comment on them.

So ignore my comment on #1.

Linus