Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Feb 2013 15:12:39 +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:  <511256C7.6080406@FreeBSD.org>
In-Reply-To: <201302051115.03275.jhb@freebsd.org>
References:  <201302030957.r139vd8n027213@svn.freebsd.org> <201302041429.01477.jhb@freebsd.org> <51102076.8030302@FreeBSD.org> <201302051115.03275.jhb@freebsd.org>

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

-- 
Andriy Gapon



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