Hello, What's the plan for rw_write_held()? Currently macro is true, if whoever holds the lock.
>
> +#define rw_write_held(rwl) (rw_status(rwl) == RW_WRITE)
I would expect something like instead:
#define rw_write_held(rwl) (RWLOCK_OWNER(rwl) == curproc)
the macro above is true if the current process holds the lock.
I just want to make sure if it is really your intention.
thanks and
regards
sashan
