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

2013-02-06 Thread John Baldwin
On Wednesday, February 06, 2013 8:12:39 am Andriy Gapon wrote: > 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 ent

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

2013-02-06 Thread Andriy Gapon
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

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

2013-02-06 Thread Andriy Gapon
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 t

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

2013-02-05 Thread John Baldwin
On Monday, February 04, 2013 3:56:22 pm Andriy Gapon wrote: > on 04/02/2013 21:29 John Baldwin said the following: > > On Sunday, February 03, 2013 4:57:39 am Andriy Gapon wrote: > >> Author: avg > >> Date: Sun Feb 3 09:57:39 2013 > >> New Revision: 246282 > >> URL: http://svnweb.freebsd.org/chang

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

2013-02-04 Thread Andriy Gapon
on 04/02/2013 21:29 John Baldwin said the following: > On Sunday, February 03, 2013 4:57:39 am Andriy Gapon wrote: >> Author: avg >> Date: Sun Feb 3 09:57:39 2013 >> New Revision: 246282 >> URL: http://svnweb.freebsd.org/changeset/base/246282 >> >> Log: >> allow for large KTR_ENTRIES values by a

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

2013-02-04 Thread John Baldwin
On Sunday, February 03, 2013 4:57:39 am Andriy Gapon wrote: > Author: avg > Date: Sun Feb 3 09:57:39 2013 > New Revision: 246282 > URL: http://svnweb.freebsd.org/changeset/base/246282 > > Log: > allow for large KTR_ENTRIES values by allocating ktr_buf using malloc(9) > > Only during very e

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

2013-02-03 Thread Andriy Gapon
Author: avg Date: Sun Feb 3 09:57:39 2013 New Revision: 246282 URL: http://svnweb.freebsd.org/changeset/base/246282 Log: allow for large KTR_ENTRIES values by allocating ktr_buf using malloc(9) Only during very early boot, before malloc(9) is functional (SI_SUB_KMEM), the static ktr_buf_