[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101021.042959.91336397.davem@davemloft.net>
Date: Thu, 21 Oct 2010 04:29:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jan.kiszka@....de
Cc: linux-kernel@...r.kernel.org, i4ldeveloper@...tserv.isdn4linux.de,
netdev@...r.kernel.org, isdn@...ux-pingi.de, peterz@...radead.org
Subject: Re: [PATCH v2] CAPI: Silence lockdep warning on
get_capi_appl_by_nr usage
From: Jan Kiszka <jan.kiszka@....de>
Date: Sun, 17 Oct 2010 17:18:15 +0200
> As long as we hold capi_controller_lock, we can safely access
> capi_applications without RCU protection as no one can modify the
> application list underneath us. Introduce an RCU-free
> __get_capi_appl_by_nr for this purpose. This silences lockdep warnings
> on suspicious rcu_dereference usage.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@....de>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists