From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.122.233] helo=mgw-mx06.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1OgxDi-00056l-2x for linux-mtd@lists.infradead.org; Thu, 05 Aug 2010 09:58:39 +0000 Subject: Re: [PATCH] Change struct flchip_shared spinlock locking into mutex From: Artem Bityutskiy To: stefani@seibold.net In-Reply-To: <1280992766-13745-1-git-send-email-stefani@seibold.net> References: <1280992766-13745-1-git-send-email-stefani@seibold.net> Content-Type: text/plain; charset="UTF-8" Date: Thu, 05 Aug 2010 12:37:47 +0300 Message-ID: <1281001067.15689.80.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: David Woodhouse , Arnd Bergmann , 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 Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2010-08-05 at 09:19 +0200, 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. > > This patch is based on linux kernel 2.6.35. Please apply. > > It was suggested by Arnd Bergmann and Vasiliy Kulikov. Pushed to my l2-mtd-2.6.git / master. -- Best Regards, Artem Bityutskiy (Артём Битюцкий)