Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754575Ab0HCIZ7 (ORCPT ); Tue, 3 Aug 2010 04:25:59 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:57916 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753852Ab0HCIZ5 (ORCPT ); Tue, 3 Aug 2010 04:25:57 -0400 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 User-Agent: KMail/1.12.2 (Linux/2.6.31-22-generic; KDE/4.3.2; x86_64; ; ) Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Vasiliy Kulikov , Artem Bityutskiy , David Woodhouse , Nicolas Pitre , "Hans-Christian Egtvedt" , Jiri Slaby , Tejun Heo , linux-mtd@lists.infradead.org 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> X-Provags-ID: V02:K0:KMnFIomcCNIjvEpCu+0vbAEJj0N8KA5Ocv1cfrs0vXf 1SO0Bg6A3VM9t9AKffs0CVVQZOIFVfLzDQI5dZprT++gJZzURH D+HskEsOENdVIL5nseesHAjgTkti1M95WsMi1oj+YvfJgqiRRQ xKhp3OsKxfinjfIXoH1GlRVfHdRPjuEfsWeOouBFSQMyCvq2Oc 4xP9bhzczhWAUthv+olKA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 634 Lines: 16 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/