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

Andriy Gapon avg at FreeBSD.org
Wed Feb 6 14:22:07 UTC 2013


on 06/02/2013 15:12 Andriy Gapon said the following:
> on 05/02/2013 18:15 John Baldwin said the following:
>> Almost.  To handle the case where the boot buffer might have wrapped I think
>> you should copy the entries at the "end" into the head of the KTR buffer
>> first, then the entries from the front to the current index, and then update
>> the index to point at the end (it should effectively be KTR_BOOT_ENTRIES
>> I think).
> 
> I decided to just copy the whole buffer.  That should cover all the possible cases
> and should not be too expensive.
> 

Hmm, or not.  Let me think again about the wrap-around case and a larger buffer.

-- 
Andriy Gapon


More information about the svn-src-head mailing list