From owner-freebsd-arch@FreeBSD.ORG  Thu Nov  4 19:02:00 2010
Return-Path: <owner-freebsd-arch@FreeBSD.ORG>
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 11E3A106564A;
	Thu,  4 Nov 2010 19:02:00 +0000 (UTC)
	(envelope-from mdf356@gmail.com)
Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com
	[209.85.213.54])
	by mx1.freebsd.org (Postfix) with ESMTP id 6C6778FC08;
	Thu,  4 Nov 2010 19:01:59 +0000 (UTC)
Received: by ywh2 with SMTP id 2so1768476ywh.13
	for <multiple recipients>; Thu, 04 Nov 2010 12:01:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:received:in-reply-to
	:references:date:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=I1HBTmal4wdj7RoHcpK5ZAj42DF8gXyVmwLeiE2VbIg=;
	b=GQKlLEbUB+NgCPMZ8Sh3T1JaNUKdIdsBeAdRgeiixFoTHCPaOAilAoxFXIJIJwBNGS
	xISQXfnZgWh8Wpe5NYtrnNcyxL5+wduOohtvnZljsgjn/4z/OR8ZHXIXWQ3QUSwWFhDL
	9EzEK6wfPqwJGuGpFwSHNy37uKGqa9eL0+xW0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	b=oElfcZT08ZfGcR0F3YxBLm5qIlWQ0b8xnZo4wi1DTHgglfJUyDZ4LUDE5pa+UlHpGG
	NQKkhF2l7TvTmzvckiYVyXnZ5Otb2ToXBJ647/yN1QL1AUXkay9uSoUDVl1Wd+suGeXs
	30sT0OF9PcBxmM33I16NnvDVGUmzO+wN+VP9E=
MIME-Version: 1.0
Received: by 10.42.97.67 with SMTP id m3mr657740icn.343.1288897317938; Thu, 04
	Nov 2010 12:01:57 -0700 (PDT)
Received: by 10.231.159.198 with HTTP; Thu, 4 Nov 2010 12:01:57 -0700 (PDT)
In-Reply-To: <201011041941.09662.hselasky@c2i.net>
References: <201011012054.59551.hselasky@c2i.net>
	<AANLkTi=83-ZALkn2T-g_DnbfSPF-MGz14Bp+DN-9toZp@mail.gmail.com>
	<201011041029.51864.jhb@freebsd.org>
	<201011041941.09662.hselasky@c2i.net>
Date: Thu, 4 Nov 2010 12:01:57 -0700
Message-ID: <AANLkTin3Zp82KDJiunS1A1Wf3bSeWGFxh8wTc4Gu6551@mail.gmail.com>
From: Matthew Fleming <mdf356@gmail.com>
To: Hans Petter Selasky <hselasky@c2i.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: Andrew Thompson <thompsa@freebsd.org>,
	Weongyo Jeong <weongyo.jeong@gmail.com>,
	freebsd-current@freebsd.org, freebsd-usb@freebsd.org,
	freebsd-arch@freebsd.org
Subject: Re: [RFC] Outline of USB process integration in the kernel
	taskqueue system
X-BeenThere: freebsd-arch@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion related to FreeBSD architecture <freebsd-arch.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arch>,
	<mailto:freebsd-arch-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arch>
List-Post: <mailto:freebsd-arch@freebsd.org>
List-Help: <mailto:freebsd-arch-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arch>,
	<mailto:freebsd-arch-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Nov 2010 19:02:00 -0000

On Thu, Nov 4, 2010 at 11:41 AM, Hans Petter Selasky <hselasky@c2i.net> wro=
te:
> On Thursday 04 November 2010 15:29:51 John Baldwin wrote:
>> =A0(and there is in Jeff's OFED branch)
>
> Is there a link to this branch? I would certainly have a look at his work=
 and
> re-base my patch.

It's on svn.freebsd.org:

http://svn.freebsd.org/viewvc/base/projects/ofed/head/sys/kern/subr_taskque=
ue.c?view=3Dlog
http://svn.freebsd.org/viewvc/base?view=3Drevision&revision=3D209422

For the purpose of speed, I'm not opposed to breaking the KBI by using
a doubly-linked TAILQ, but I don't think the difference will matter
all that often (perhaps I'm wrong and some taskqueues have dozens of
pending tasks?)

Thanks,
matthew