Date: Wed, 06 Feb 2013 16:22:03 +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: <5112670B.5030003@FreeBSD.org> In-Reply-To: <511256C7.6080406@FreeBSD.org> References: <201302030957.r139vd8n027213@svn.freebsd.org> <201302041429.01477.jhb@freebsd.org> <51102076.8030302@FreeBSD.org> <201302051115.03275.jhb@freebsd.org> <511256C7.6080406@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5112670B.5030003>