From owner-svn-src-all@FreeBSD.ORG Mon Feb 6 15:59:58 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 595BD106564A; Mon, 6 Feb 2012 15:59:58 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F3B38FC0A; Mon, 6 Feb 2012 15:59:57 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so6877447wib.13 for ; Mon, 06 Feb 2012 07:59:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sYU984wzktceO0eiD2yXGUPrgLkTvqE5a4jDvJXX6UU=; b=Wy8/fujzZ/hwaMyqDzVPa37kPPrlJ1p/rVTDi6cH7C6mJd9vElKBxDZmtlm2akMAMj pL8R6ThR7EIF11QTjDseNj9yTI1eEkPw4fOTF9OvqJX661Pp4M/cSubR48J2KZd/tKFe Ff2Y0lysFKFnq0szB6COtU7P6YTfdmnfKDNQU= MIME-Version: 1.0 Received: by 10.180.105.129 with SMTP id gm1mr15915045wib.1.1328542502025; Mon, 06 Feb 2012 07:35:02 -0800 (PST) Received: by 10.180.106.129 with HTTP; Mon, 6 Feb 2012 07:35:02 -0800 (PST) In-Reply-To: References: <201202041649.q14GnUnI043572@svn.freebsd.org> Date: Mon, 6 Feb 2012 10:35:02 -0500 Message-ID: From: Ryan Stone To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-src-head@freebsd.org, Ryan Stone , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r230984 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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, 06 Feb 2012 15:59:58 -0000 On Mon, Feb 6, 2012 at 6:34 AM, Ivan Voras wrote: > Shouldn't new threads inherit affinity from the threads which spawned them? Kernel threads were not inheriting affinity from the thread that spawned them. They were inheriting affinity from an arbitrary sibling thread in the same kernel process. For example, if you set net.isr.bindthreads=1, all threads in the intr process that don't set affinity(which is most of them) would end up bound to CPU 0, including every single softclock thread.