From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab Subject: Re: [PATCH 07/18] m68k: remove big kernel lock Date: Tue, 21 Sep 2010 21:46:48 +0200 Message-ID: References: <1284492909-7147-1-git-send-email-arnd@arndb.de> <1284492909-7147-8-git-send-email-arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-out.m-online.net ([212.18.0.9]:60317 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754298Ab0IUTqu (ORCPT ); Tue, 21 Sep 2010 15:46:50 -0400 In-Reply-To: <1284492909-7147-8-git-send-email-arnd@arndb.de> (Arnd Bergmann's message of "Tue, 14 Sep 2010 21:34:58 +0200") Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Arnd Bergmann Cc: Geert Uytterhoeven , Roman Zippel , linux-m68k@vger.kernel.org Arnd Bergmann writes: > The cache flush code only locks against itself, so there > is no excuse to use the BKL here. This replaces it with > a local mutex in order to maintain serialization of flushes. I don't think this needs a lock at all. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."