From owner-freebsd-current@FreeBSD.ORG Wed Oct 21 04:20:56 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D4D4106566B for ; Wed, 21 Oct 2009 04:20:56 +0000 (UTC) (envelope-from tomelite82@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id 2CFFD8FC1A for ; Wed, 21 Oct 2009 04:20:55 +0000 (UTC) Received: by vws27 with SMTP id 27so2704147vws.3 for ; Tue, 20 Oct 2009 21:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=mEjOs/SsjuMgVD5Ygrv3oFE5x/OkHKbWyzlRug+mjg0=; b=SMrGKWhZzbFQmkNJCtIKYvHjGXOGKpZoQsA8K9d55v4yg3K2xsZL+0OZ9h0PaG4IGV i4Yg+6t58I8hWpeU0bbfE6sJ80lt/e28hcq/ltx5ys/R+tqPlMZ24PXDNGBLh0Sbcksb dtgTLEdX/o/b7Qoq7bY2UyeYKsEUkmcqwPbSY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=O4BblcDFOeFECxBZMbRth01VUmYvxo8DqY25JDt6+qJdn9p41/C7Gyuty0TGvEIdI0 FlDornMfsmWa4ngcHcUH8e+2fkcrU1eXXvFLw0LNn1Pfq4tQmzfOfQBrxY5M8WsIqGR0 Q++sBsb68mXWhsuoo1lHNVsnzbqaIi6JxuAAM= MIME-Version: 1.0 Sender: tomelite82@gmail.com Received: by 10.220.122.205 with SMTP id m13mr1629666vcr.100.1256097168273; Tue, 20 Oct 2009 20:52:48 -0700 (PDT) In-Reply-To: References: Date: Tue, 20 Oct 2009 20:52:48 -0700 X-Google-Sender-Auth: 2455e9b46c964a68 Message-ID: <9ace436c0910202052r1d1235dax774290a4fa1ee842@mail.gmail.com> From: Qing Li To: Ryan Stone Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, "b. f." Subject: Re: svn commit: r198306 - head/sys/net X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2009 04:20:56 -0000 b.f., I think you are right in saying those code blocks should have "#ifdef SMP" condition around them. I am in the process of make those changes. Thanks, -- Qing On Tue, Oct 20, 2009 at 8:30 PM, Ryan Stone wrote: > Judging from the checkin comment, it is not intended to only eliminate > the call to sched_bind in the non-SMP case. =A0However. you asked > whether it would work correctly in the non-SMP case and I answered > that question. > > Ryan >