From owner-p4-projects@FreeBSD.ORG Fri Jun 8 18:00:21 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 96B9B16A41F; Fri, 8 Jun 2007 18:00:21 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47AA616A46C for ; Fri, 8 Jun 2007 18:00:21 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by mx1.freebsd.org (Postfix) with ESMTP id AE40413C457 for ; Fri, 8 Jun 2007 18:00:20 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so929605ika for ; Fri, 08 Jun 2007 11:00:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ZeX2L3OG8zNkcWUZ+HF+hEHgbl8HzbP+Zr2ckRKKwV62lFb7tW0TvNcnVtbnu5XCkXtj32owKrQfJ/OSiDH0QMv5HhNJZBRqMy4fZzbqzzQoJFc7WQ8RCTEqp5kc8eHEUn/BAM4fVLUrqoH77Cde7relgKBVBikG/uHLRVe8Pd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=c5k5nDuCU4PYw1kiz0///AiEnp3WvjXDGIe386Sv8YCrRUfPQkAU+4Ci6TY9qWaSQ0lE+RugjGLfORNAyswj2m5kaxDFF2/Rb/HaLpDi6ogd/U5xIM4UQdEJ5V+SLzlDMc3aiXxBu+IV3kyQU7PhW9YfOVHAjES5nw8b2SgzO+Q= Received: by 10.78.160.4 with SMTP id i4mr1365113hue.1181325618988; Fri, 08 Jun 2007 11:00:18 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Fri, 8 Jun 2007 11:00:18 -0700 (PDT) Message-ID: <3bbf2fe10706081100k4f1457f2g6a714d8c897dc395@mail.gmail.com> Date: Fri, 8 Jun 2007 20:00:18 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "John Baldwin" In-Reply-To: <200706081351.54281.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706021756.l52Huq9A049371@repoman.freebsd.org> <86myzeq67f.wl%rpaulo@fnop.net> <4666B730.9080908@FreeBSD.org> <200706081351.54281.jhb@freebsd.org> X-Google-Sender-Auth: 0034c0b62844ce08 Cc: Rui Paulo , Perforce Change Reviews , Rui Paulo Subject: Re: PERFORCE change 120788 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 18:00:21 -0000 2007/6/8, John Baldwin : > On Wednesday 06 June 2007 09:31:28 am Attilio Rao wrote: > > Rui Paulo wrote: > > > > > > If I'm not doing something wrong, I need to use spin locks on my > > > interrupt handler, or else witness_checkorder will complain with > > > "blockable sleep lock". > > > > > > Note that I'm using FILTERs. > > > > So you are doing this in the wrong way. > > In order to use correctly filters, please note that the support for them > > is compile time choosen, so you need to wrapper all filter specific > > parts using INTR_FILTER compat macro. > > Actually, if you only use a filter and not an ithread handler, you can do that > now w/o needing to have any #ifdef INTR_FILTER stuff. In the case your kernel doesn't use filters (!INTR_FILTER) and you pass a filter, it is automatically mapped to work as a fast handler? Attilio -- Peace can only be achieved by understanding - A. Einstein