Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751933AbZJKTcX (ORCPT ); Sun, 11 Oct 2009 15:32:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751181AbZJKTcV (ORCPT ); Sun, 11 Oct 2009 15:32:21 -0400 Received: from mail-bw0-f210.google.com ([209.85.218.210]:59535 "EHLO mail-bw0-f210.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751171AbZJKTcU (ORCPT ); Sun, 11 Oct 2009 15:32:20 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=bC56aZlRcit8jr7DrIprGuxBdmmIRz5mJfJKsoTw34NTdNL74zqv5GfuV/VZlUNVX0 GvDx83tVkaeXoi9A656I/tBfCkXogwXrAhMunFBGssHDl3Urk96qIR/TMGqRUHoRA57r DO6cD5z9q3OHjJtCJPzpKhZXHdF+1FyGm5g70= From: Arnd Bergmann To: Thomas Gleixner Subject: Re: [patch 11/28] nvram: Drop the bkl from nvram_llseek() Date: Sun, 11 Oct 2009 21:31:40 +0200 User-Agent: KMail/1.12.1 (Linux/2.6.31-11-generic; KDE/4.3.1; x86_64; ; ) Cc: LKML , Andrew Morton , Ingo Molnar , Peter Zijlstra , Frederic Weisbecker , Vincent Sanders , John Kacur , Jonathan Corbet , Christoph Hellwig , "Sven-Thorsten Dietrich" , Alessio Igor Bogani , Benjamin Herrenschmidt , Greg KH References: <20091010153314.827301943@linutronix.de> <20091010153349.499835683@linutronix.de> In-Reply-To: <20091010153349.499835683@linutronix.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200910112131.40608.arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 757 Lines: 19 On Saturday 10 October 2009, Thomas Gleixner wrote: > There is nothing to protect inside nvram_llseek(), the file > offset doesn't need to be protected and nvram_len is only > initialized from an __init path. > > It's safe to remove the big kernel lock there. > The generic_nvram driver still uses ->ioctl instead of ->unlocked_ioctl. I guess it would be helpful to change that in the same series, so we don't get the BKL back as soon as someone does a pushdown into the remaining ioctl functions. Arnd <>< -- 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/