Re: [peterz-queue:locking/core 41/43] kernel/locking/rwsem.c:1023:19: error: variable has incomplete type 'enum owner_state'

From: Xu, Yanfei
Date: Mon Oct 18 2021 - 07:23:38 EST




On 10/18/21 7:06 PM, Peter Zijlstra wrote:

Hi Peter,

I send a patch named ("locking/rwsem: Introduce __rwsem_spin_on_owner()")
for fixing this.
How about we do something like this instead? That makes the whole
CONFIG_RWSEM_SPIN_ON_OWNER=n side more consistent.

I have no problem, it's more consistent indeed.

Cheers,
Yanfei