From owner-svn-src-all@FreeBSD.ORG Mon Mar 2 20:26:49 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D594715A; Mon, 2 Mar 2015 20:26:49 +0000 (UTC) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70600FE6; Mon, 2 Mar 2015 20:26:49 +0000 (UTC) Received: by labgf13 with SMTP id gf13so8407083lab.5; Mon, 02 Mar 2015 12:26:47 -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:message-id:subject :from:to:cc:content-type; bh=ASF1EvRI43QmiiaEwjolveP57Jthahpy9ofQ6+CCV3k=; b=TfnIsfpGSJmYMcGyupX5E/kYChOx+YHpRWwJ2n+my73MKbZ5p9NnpMb+Kl+ID2OWrd uaUMrt2vZNTfhnbRx4QbjpKIGingfIb5B9E2TFJAfh5rpkbZjJF8iGJep8ctMXgDee5P ZK2aR2S1OgKjl3SI4p2g2/UbpKvDxFG76osQjg1Jc+y3/ZZx9/bgBY6Ejtten1eqS8j+ 9xRjvxanKxkQMiRtc4dVnvRdm11LVYzdpQQyGc5C50Olbvts/E1gGGm3YuCdmMCJcVxw WXvPe3gBiXbegmvE+e9MGHwiZKY5I2frhJ65H+Zo8V+LzqW20ncCSvtcR6s6K0PpoNIR V7XA== MIME-Version: 1.0 X-Received: by 10.112.224.3 with SMTP id qy3mr3421904lbc.36.1425328007028; Mon, 02 Mar 2015 12:26:47 -0800 (PST) Sender: davide.italiano@gmail.com Received: by 10.25.217.8 with HTTP; Mon, 2 Mar 2015 12:26:46 -0800 (PST) In-Reply-To: <201503022005.t22K5HTL062907@svn.freebsd.org> References: <201503022005.t22K5HTL062907@svn.freebsd.org> Date: Mon, 2 Mar 2015 12:26:46 -0800 X-Google-Sender-Auth: 6gXxLJJJR_hhUEZZVYU6Um0Xwgg Message-ID: Subject: Re: svn commit: r279539 - head/sys/sys From: Davide Italiano To: John-Mark Gurney Content-Type: text/plain; charset=UTF-8 Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2015 20:26:50 -0000 On Mon, Mar 2, 2015 at 12:05 PM, John-Mark Gurney wrote: > Author: jmg > Date: Mon Mar 2 20:05:16 2015 > New Revision: 279539 > URL: https://svnweb.freebsd.org/changeset/base/279539 > > Log: > give others fair warning that _SPARE2 isn't just cxgb, but used by large > number of other subsystems, so you probably don't want _SPARE2.. > > ktr needs an overhaul to really only compile in the ones you want, > we've long passed the 31 bits it provides.. > If you really want to do the overhaul (which would be honestly great), I might consider revamping my work for per-cpu KTR buffer and include that in the change. Originally it was just an exercise, but then it evolved and I've been sitting with it in my local tree for a while. I never had the chutzpah to upstream it because it involves fundamental changes and breaks compatibility with the old ktrdump(1) format. A rather outdated (and maybe not completely functional) version of the patch can be found here: http://people.freebsd.org/~davide/locking/ktr_percpu.4.diff , which should give you an high level view of the change. I can update it to the last version and bring up for review, if somebody think it might be a sane idea avoiding synchronization on a single buffer for KTR. -- Davide