From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from moutng.kundenserver.de ([212.227.126.171]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OgCoy-00062w-Ll for linux-mtd@lists.infradead.org; Tue, 03 Aug 2010 08:26:01 +0000 From: Arnd Bergmann To: stefani@seibold.net Subject: Re: [PATCH] Change struct flchip_shared spinlock locking into mutex Date: Tue, 3 Aug 2010 10:25:52 +0200 References: <1280778048-6208-1-git-send-email-stefani@seibold.net> In-Reply-To: <1280778048-6208-1-git-send-email-stefani@seibold.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201008031025.52409.arnd@arndb.de> Cc: Artem Bityutskiy , David Woodhouse , Nicolas Pitre , Vasiliy Kulikov , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Tejun Heo , akpm@linux-foundation.org, Jiri Slaby , Hans-Christian Egtvedt List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Monday 02 August 2010, stefani@seibold.net wrote: > From: Stefani Seibold > > This patch prevent to schedule while atomic by changing the > flchip_shared spinlock into a mutex. This should be save since no atomic > path will use this lock. I don't know this code well, but the patch looks correct and seems to be needed. Acked-by: Arnd Bergmann