From owner-freebsd-arch@FreeBSD.ORG Tue Jun 5 20:14:04 2012 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A8441065670; Tue, 5 Jun 2012 20:14:04 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 78BF98FC08; Tue, 5 Jun 2012 20:14:03 +0000 (UTC) Received: by laai10 with SMTP id i10so5214325laa.13 for ; Tue, 05 Jun 2012 13:14:02 -0700 (PDT) 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 :content-transfer-encoding; bh=48RbuAC1Bs4gm51Wx/oRorkom0LY4BcDYWBFZcd52IQ=; b=aDb/RaZPLos5Y9ZBL3uMc2ba/7As8Jz/Zh7iW2Rujg9Fl4cOYHSYl9o0C7/UBMQsQk 7aTqm3JdRwQ20AbukwszX3Slw8Q2Vd3+uplN3QMAfKLAi1Sb4R8h5JXrIPlEYWHKYXq7 eGsXlXj7X+P739Qhnh6wyhizLsVLy5eqIvtpP4BAKvth/hKqHBT2el4999+/suC54Obe ZhwV9RPh+bMYJv1nPepm7aw1uPegjLM7znMjZiO4aHZQs7iZM0JEHZ+syFzo4slPf3LJ fQXAx88Ys/apdYL77kmGFruki17nB53yXINbST9QHUYguz5TyJZ5hJiAIg8A9iIbA8gc ky+w== MIME-Version: 1.0 Received: by 10.112.45.4 with SMTP id i4mr8723394lbm.79.1338927242177; Tue, 05 Jun 2012 13:14:02 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.112.27.65 with HTTP; Tue, 5 Jun 2012 13:14:02 -0700 (PDT) In-Reply-To: References: <86bokyvtc2.fsf@ds4.des.no> Date: Tue, 5 Jun 2012 21:14:02 +0100 X-Google-Sender-Auth: Hk2hMq-jYJ-9tNhvIusoz3k2wtM Message-ID: From: Attilio Rao To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= , arch@freebsd.org Subject: Re: KTR_SPAREx X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 20:14:04 -0000 2012/6/5 Adrian Chadd : > Hi, > > I'm very tempted to make if_ath use KTR_DEV, but then have an extra > ath sysctl which does something like: > > if (sc->sc_ktr_enable) > =C2=A0 =C2=A0KTR(); But the actual problem is that your output will be overwhelmed by the clutter of all the other KTR_DEV consumers. We very much need an much higher granularity on KTR classes and possibly a way to use it on-the-fly for kernel development and I think what I suggested earlier makes sense. Attilio --=20 Peace can only be achieved by understanding - A. Einstein