On Thu, 28 Jul 2016 11:15:17 +0300 Amir Levy <amir.jer.l...@intel.com> wrote:
> +static LIST_HEAD(controllers_list); > +static DECLARE_RWSEM(controllers_list_rwsem); Why use a semaphore when simple spinlock or mutex would be better?
On Thu, 28 Jul 2016 11:15:17 +0300 Amir Levy <amir.jer.l...@intel.com> wrote:
> +static LIST_HEAD(controllers_list); > +static DECLARE_RWSEM(controllers_list_rwsem); Why use a semaphore when simple spinlock or mutex would be better?