]> granicus.if.org Git - spl/commit
rwsem use kernel provided owner when possible
authorChunwei Chen <tuxoko@gmail.com>
Tue, 1 Sep 2015 15:28:02 +0000 (23:28 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 2 Oct 2015 18:21:32 +0000 (11:21 -0700)
commita00b3eb58fbcedf29c7426cc1300549d6b72b52c
treebfac4b828b30abade8b7f86afdcd76ee475b1324
parent4f8e643afe9d8cc558566e1dda05ef597cb2526e
rwsem use kernel provided owner when possible

If CONFIG_RWSEM_SPIN_ON_OWNER is defined, rw_semaphore will have an owner
field, so we don't need our own.

Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #473
include/sys/rwlock.h