Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 29 Apr 2002 13:53:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 29 Apr 2002 13:53:24 -0400 Received: from e31.co.us.ibm.com ([32.97.110.129]:13481 "EHLO e31.co.us.ibm.com") by vger.kernel.org with ESMTP id ; Mon, 29 Apr 2002 13:53:23 -0400 Message-ID: <3CCD884D.70009@us.ibm.com> Date: Mon, 29 Apr 2002 10:52:13 -0700 From: Dave Hansen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roman Zippel CC: Arjan van de Ven , linux-kernel@vger.kernel.org Subject: Re: devfs: BKL *not* taken while opening devices In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Roman Zippel wrote: > The BKL doesn't make a driver safe, remember that it's released on > schedule. Not safe, but _safer_, and definitely safe enough for almost all uses. Some of the drivers rely on the fact that open() cannot be run concurrently. The BKL does provide this if open never blocks. -- Dave Hansen haveblue@us.ibm.com - 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/