Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2013 22:56:22 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r246282 - in head/sys: conf kern
Message-ID:  <51102076.8030302@FreeBSD.org>
In-Reply-To: <201302041429.01477.jhb@freebsd.org>
References:  <201302030957.r139vd8n027213@svn.freebsd.org> <201302041429.01477.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51102076.8030302>