From owner-svn-src-all@FreeBSD.ORG Wed Feb 6 13:12:43 2013 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 46AAB53E; Wed, 6 Feb 2013 13:12:43 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id CF3608F2; Wed, 6 Feb 2013 13:12:41 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA16332; Wed, 06 Feb 2013 15:12:40 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <511256C7.6080406@FreeBSD.org> Date: Wed, 06 Feb 2013 15:12:39 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130206 Thunderbird/17.0.2 MIME-Version: 1.0 To: John Baldwin Subject: Re: svn commit: r246282 - in head/sys: conf kern References: <201302030957.r139vd8n027213@svn.freebsd.org> <201302041429.01477.jhb@freebsd.org> <51102076.8030302@FreeBSD.org> <201302051115.03275.jhb@freebsd.org> In-Reply-To: <201302051115.03275.jhb@freebsd.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 13:12:43 -0000 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