Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262284AbTHYV7p (ORCPT ); Mon, 25 Aug 2003 17:59:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262290AbTHYV7p (ORCPT ); Mon, 25 Aug 2003 17:59:45 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:58837 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S262284AbTHYV7o (ORCPT ); Mon, 25 Aug 2003 17:59:44 -0400 Message-ID: <3F4A86B8.9080404@pobox.com> Date: Mon, 25 Aug 2003 17:59:20 -0400 From: Jeff Garzik Organization: none User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk X-Accept-Language: en MIME-Version: 1.0 To: insecure@mail.od.ua CC: Linus Torvalds , Kernel Mailing List Subject: Re: [PATCH] raceless request_region() fix (was Re: Linux 2.6.0-test4) References: <200308260020.21817.insecure@mail.od.ua> <200308260026.47994.insecure@mail.od.ua> In-Reply-To: <200308260026.47994.insecure@mail.od.ua> 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 Content-Length: 647 Lines: 26 Is it a race if noone cares? :) The code does if (!request_region(...)) fail touch hardware release_region if (!request_region(...)) fail If the HIGHLY UNLIKELY event of another ISA driver claiming this region occurs, the system continues working just fine. At the time, I was thinking that any further touching of the code should be converting it to a more pnp-like structure. Jeff - 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/