From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 15 17:59:14 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 930BB5D5; Thu, 15 Nov 2012 17:59:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 52DCD8FC08; Thu, 15 Nov 2012 17:59:14 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so827459dad.13 for ; Thu, 15 Nov 2012 09:59:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=lsTSqNwiglElUieJ8bqooKQr4sX4OF18lf04F75MTy8=; b=S8mPUyxGDmIVc8HeV1VfUdXHyup/tYBUkHsd3yqpmnN7IZPruYAPeG4wDDEG/+VytK 0LbCnfDICDl3dBD9K+4cgOMIhygxEc5BtYssIzW8xRC44egjO4HNM65b5tU9D3ME9pSZ eHPCfbq/IXmsRPLBnUcGx43QUzRvv5IKebGokwaSrfYjIWAXOsvu/CWtypTueDHr/RBs EfK8a7NOb6bEdfWzHj51MczjofdPEgNLG/m852o0Xx5w5pQZjD5WOwHoEyk5l6zX6bn+ TPHGsPqULygUHSaRs6UAsDvPKP+juAJF0+zaKPKv4PVH3uOBFUUkcoPMBPNBkPFKVAxO iokg== MIME-Version: 1.0 Received: by 10.68.247.134 with SMTP id ye6mr1210085pbc.69.1353002348592; Thu, 15 Nov 2012 09:59:08 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Thu, 15 Nov 2012 09:59:08 -0800 (PST) In-Reply-To: <47374EC3-5022-49AC-A17E-7F234A88B5C6@bsdimp.com> References: <1353001175.1217.153.camel@revolution.hippie.lan> <47374EC3-5022-49AC-A17E-7F234A88B5C6@bsdimp.com> Date: Thu, 15 Nov 2012 09:59:08 -0800 X-Google-Sender-Auth: od1Pefj0sjviGAww4NVES9DFaL4 Message-ID: Subject: Re: [RFQ] make witness panic an option From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Cc: attilio@freebsd.org, Ian Lepore , freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2012 17:59:14 -0000 On 15 November 2012 09:56, Warner Losh wrote: >> Do you really think that an abusable mechanism will help here rather > It sounds like he's more worried about introducing LoRs into his wireless code. They are harmless, for him, and he can fix them by reloading the driver. They are only harmful if he loses a race. LOR's and lock assertions. Ie, I want to find out at run time that a lock wasnt' held at a certain position but continue soldiering on. That's how I've been finding out all of the races in net80211/ath, as there wasn't locking where there needed to be. Adrian