From owner-freebsd-arch@FreeBSD.ORG Wed Jun 23 14:55:15 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 841F81065719; Wed, 23 Jun 2010 14:55:15 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id EE7768FC21; Wed, 23 Jun 2010 14:55:06 +0000 (UTC) Received: by fxm7 with SMTP id 7so3647986fxm.13 for ; Wed, 23 Jun 2010 07:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=DIY4ROAQvW3l/uX/KTUqoYFf0TGQrx3GSFDSVqBOQgM=; b=qRUiKbHyl78yQy1FQNkw0Qs+Tf7estyzQa25u+OlzTg1ntvfYRAsyQ+x0jllsywqT9 WhG3w1ERsolmx/sQ+aDrRAnFArZaGeYsr0Sxu0+A1K8KZUXQ78Y02AnSNNlFZilVdU1Z OIhJexnoEXP/DspYt7x0VBkM6r5czw6oVI8Hk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=KukdhPbdVKF2Jp/4KujKDcZSN5Wm8jnJS2kc/cbngMIIRsj9DMVxHuLI1rflxxxsB4 qp7607xaVMh9VYYB9ulXNhOKCA6DIJSiDHE1RcZUjIvO8Iyi3TDdmDQnAeBfwA+W8Nkm wfnwrakCFPR7ALD0HvL+9lTH4ZonZwFT/CaqU= Received: by 10.223.97.149 with SMTP id l21mr7782182fan.91.1277304905427; Wed, 23 Jun 2010 07:55:05 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 1sm394045fax.0.2010.06.23.07.55.04 (version=SSLv3 cipher=RC4-MD5); Wed, 23 Jun 2010 07:55:04 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C222021.7040707@FreeBSD.org> Date: Wed, 23 Jun 2010 17:54:25 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: John Baldwin References: <4C21AE15.6030109@FreeBSD.org> <201006230951.16046.jhb@freebsd.org> In-Reply-To: <201006230951.16046.jhb@freebsd.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org Subject: Re: "stray irqX" or "irqX: stray" 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: Wed, 23 Jun 2010 14:55:15 -0000 John Baldwin wrote: > On Wednesday 23 June 2010 2:47:49 am Alexander Motin wrote: >> Now we use different format for stray irq counters names (can be better >> seen at `vmstat -ia`). Considering stray is a kind of special case (I >> know no other cases using additional counters for interrupt source), I >> still think it can be made somewhat more unified. I think we could >> change "stray irqX" format to "irqX: stray". This format IMHO better >> fits into existing naming scheme of "source: driver". > > I actually think it is more of a feature that they don't match since they > should never occur. If one does occur it should be noticeable and not "blend > in" with other interrupts. That is an argument. But to be noticed it is also logged to console and messages. Unified formats instead could IMHO simplify it's processing. We have a very much different formats there now, especially if compare different archs. Problem is that, for example, `systat -vm` tries to format that string to fit it into available 10 characters. I can't say that I like this idea, but it looks even more tricky, when format is not unified. -- Alexander Motin