From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262569AbTFGFVZ (ORCPT ); Sat, 7 Jun 2003 01:21:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262577AbTFGFVY (ORCPT ); Sat, 7 Jun 2003 01:21:24 -0400 Received: from tone.orchestra.cse.unsw.EDU.AU ([129.94.242.28]:38827 "HELO tone.orchestra.cse.unsw.EDU.AU") by vger.kernel.org with SMTP id S262569AbTFGFVY (ORCPT ); Sat, 7 Jun 2003 01:21:24 -0400 From: Neil Brown To: Andrey Klochko Date: Sat, 7 Jun 2003 15:33:26 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16097.31014.94516.422433@gargle.gargle.HOWL> Cc: lkml Subject: Re: [PATCH] Add module_kernel_thread for threads that live in modules. In-Reply-To: message from Andrey Klochko on Thursday June 5 References: <20030605105016.A9587@morgon.mae.cornell.edu> X-Mailer: VM 7.16 under Emacs 21.3.2 X-face: [Gw_3E*Gng}4rRrKRYotwlE?.2|**#s9D > > > - /* Release module */ > > - unlock_kernel(); > > You've locked the kernel and didn't unlock it. > This was just before the thread exited. When a thread exits it automatically drops the kernel lock anyway. It seemed un-necessary to explicitly unlock it aswell. NeilBrown