From owner-svn-src-head@FreeBSD.ORG Mon Dec 1 16:28:35 2014 Return-Path: Delivered-To: svn-src-head@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 49F27888; Mon, 1 Dec 2014 16:28:35 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D8AF5F7; Mon, 1 Dec 2014 16:28:34 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id C5D9A1FE022; Mon, 1 Dec 2014 17:28:31 +0100 (CET) Message-ID: <547C974A.9050302@selasky.org> Date: Mon, 01 Dec 2014 17:28:58 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Alfred Perlstein Subject: Re: svn commit: r275136 - in head/sys: dev/e1000 dev/ixgbe kern sys References: <201411262019.sAQKJaw4043557@svn.freebsd.org> <39377603.10OyiSzjWY@ralph.baldwin.cx> <872C180A-6ADD-469F-A801-3728DF134EEC@mu.org> <547C88A9.1070007@selasky.org> <5E1B6CD4-BBA7-4AD0-9982-E981015AF138@mu.org> <547C8A9C.4080603@selasky.org> <547C8CA2.8040305@selasky.org> <547C8DEF.5020809@selasky.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , Alfred Perlstein , "src-committers@freebsd.org" , John Baldwin X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2014 16:28:35 -0000 On 12/01/14 16:56, Alfred Perlstein wrote: > > >> On Dec 1, 2014, at 7:49 AM, Hans Petter Selasky wrote: >> >>> On 12/01/14 16:45, Alfred Perlstein wrote: >>> >>>> Hi, >>>> >>>> It is quite early, actually: >>>> >>>> SYSINIT(sysctl, SI_SUB_KMEM, SI_ORDER_FIRST, sysctl_register_all, 0); >>>> >>>> In some parts of the machine independent, MI, code you neee to keep the TUNABLE_FETCH'es, because its run before SI_SUB_KMEM ! >>> >>> Then it will not work unless I move the global n_queues sysctl creation into the driver's mod load function. >>> >>> Is that ok? >> >> Are you asking me? > > In soviet russia no one is ever sure whom to ask for permission to proceed. > > (Also you have significant commits to the driver so it makes sense. ) > Ok, You need to check "sys/sys/kernel.h" for the full init order and figure out where exactly your driver code is running and make sure that is running after the SYSCTL/TUNABLE gets init. --HPS