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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"