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

Linus Torvalds torvalds at linux-foundation.org
Sat Mar 23 04:08:29 AEDT 2019


On Fri, Mar 22, 2019 at 7:30 AM Waiman Long <longman at redhat.com> 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


More information about the Linuxppc-dev mailing list