From owner-svn-src-all@FreeBSD.ORG Mon Feb 4 20:56:35 2013 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 221ECBD2; Mon, 4 Feb 2013 20:56:35 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id CB09EE1D; Mon, 4 Feb 2013 20:56:33 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id WAA24625; Mon, 04 Feb 2013 22:56:26 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1U2T5V-0009cw-TY; Mon, 04 Feb 2013 22:56:25 +0200 Message-ID: <51102076.8030302@FreeBSD.org> Date: Mon, 04 Feb 2013 22:56:22 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130121 Thunderbird/17.0.2 MIME-Version: 1.0 To: John Baldwin Subject: Re: svn commit: r246282 - in head/sys: conf kern References: <201302030957.r139vd8n027213@svn.freebsd.org> <201302041429.01477.jhb@freebsd.org> In-Reply-To: <201302041429.01477.jhb@freebsd.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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.14 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, 04 Feb 2013 20:56:35 -0000 on 04/02/2013 21:29 John Baldwin said the following: > On Sunday, February 03, 2013 4:57:39 am Andriy Gapon wrote: >> Author: avg >> Date: Sun Feb 3 09:57:39 2013 >> New Revision: 246282 >> URL: http://svnweb.freebsd.org/changeset/base/246282 >> >> Log: >> allow for large KTR_ENTRIES values by allocating ktr_buf using malloc(9) >> >> Only during very early boot, before malloc(9) is functional (SI_SUB_KMEM), >> the static ktr_buf_init is used. Size of the static buffer is determined >> by a new kernel option KTR_BOOT_ENTRIES. Its default value is 1024. >> >> This commit builds on top of r243046. > > Does this lose "early" entries once the SYSINIT runs? It doesn't seem to make > any effort to copy the existing entries over to the new buffer? Yes, this is true and glebius has also noticed that... I think that a simple bcopy should be fine here? -- Andriy Gapon