svn commit: r246282 - in head/sys: conf kern

Andriy Gapon avg at FreeBSD.org
Mon Feb 4 20:56:35 UTC 2013


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


More information about the svn-src-head mailing list