From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Thu, 4 Nov 2010 14:31:50 +0100 References: <201010311712.07786.sven.eckelmann@gmx.de> <1288559257-30844-1-git-send-email-linus.luessing@web.de> In-Reply-To: <1288559257-30844-1-git-send-email-linus.luessing@web.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201011041431.51408.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: Don't call sysfs_del_hardif() in atomic context Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Sunday 31 October 2010 22:07:37 Linus L=C3=BCssing wrote: > sysfs_del_hardif invokes kobject_put, which might sleep. However, we > are not allowed to sleep during a call_rcu. There is also no need to > do the removal with an atomic call_rcu, as kobject_put only frees the > kobject when there is no more reference to it anyway. Applied in revision 1856. Thanks, Marek