Re: svn commit: r260898 - head/sys/kern

2014-01-23 Thread John Baldwin
On Thursday, January 23, 2014 2:35:54 am Adrian Chadd wrote: On 22 January 2014 20:34, Rui Paulo rpa...@freebsd.org wrote: On 22 Jan 2014, at 20:05, Adrian Chadd adrian.ch...@gmail.com wrote: .. Make it be an offset into the table rather than a pointer, then we can do dirty rcu style hacks

Re: svn commit: r260898 - head/sys/kern

2014-01-23 Thread John Baldwin
On Wednesday, January 22, 2014 5:54:56 pm Alfred Perlstein wrote: On 1/22/14, 2:52 PM, John-Mark Gurney wrote: Alfred Perlstein wrote this message on Wed, Jan 22, 2014 at 14:15 -0800: On 1/22/14, 1:22 PM, John Baldwin wrote: On Wednesday, January 22, 2014 3:59:37 pm Alfred Perlstein

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread John Baldwin
On Tuesday, January 21, 2014 5:12:30 pm Scott Long wrote: On Jan 21, 2014, at 9:26 AM, John Baldwin j...@freebsd.org wrote: On Monday, January 20, 2014 5:18:44 pm Alexander Kabaev wrote: On Mon, 20 Jan 2014 11:32:29 -0500 John Baldwin j...@freebsd.org wrote: On Sunday 19 January

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread John-Mark Gurney
Scott Long wrote this message on Tue, Jan 21, 2014 at 15:12 -0700: On Jan 21, 2014, at 9:26 AM, John Baldwin j...@freebsd.org wrote: On Monday, January 20, 2014 5:18:44 pm Alexander Kabaev wrote: On Mon, 20 Jan 2014 11:32:29 -0500 John Baldwin j...@freebsd.org wrote: On Sunday 19

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread Alfred Perlstein
On 1/22/14, 10:14 AM, John-Mark Gurney wrote: Scott Long wrote this message on Tue, Jan 21, 2014 at 15:12 -0700: On Jan 21, 2014, at 9:26 AM, John Baldwin j...@freebsd.org wrote: On Monday, January 20, 2014 5:18:44 pm Alexander Kabaev wrote: On Mon, 20 Jan 2014 11:32:29 -0500 John Baldwin

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread John Baldwin
On Wednesday, January 22, 2014 2:06:39 pm Alfred Perlstein wrote: On 1/22/14, 10:14 AM, John-Mark Gurney wrote: Scott Long wrote this message on Tue, Jan 21, 2014 at 15:12 -0700: On Jan 21, 2014, at 9:26 AM, John Baldwin j...@freebsd.org wrote: On Monday, January 20, 2014 5:18:44 pm

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread Alfred Perlstein
On 1/22/14, 12:27 PM, John Baldwin wrote: On Wednesday, January 22, 2014 2:06:39 pm Alfred Perlstein wrote: Hmm, what if locks had a pointer to a 2 element char * array, the first being the name, the second the type. That would keep the size of the lock down and most locks could share a

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread John Baldwin
On Wednesday, January 22, 2014 3:59:37 pm Alfred Perlstein wrote: On 1/22/14, 12:27 PM, John Baldwin wrote: On Wednesday, January 22, 2014 2:06:39 pm Alfred Perlstein wrote: Hmm, what if locks had a pointer to a 2 element char * array, the first being the name, the second the type. That

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread Alfred Perlstein
On 1/22/14, 1:22 PM, John Baldwin wrote: On Wednesday, January 22, 2014 3:59:37 pm Alfred Perlstein wrote: On 1/22/14, 12:27 PM, John Baldwin wrote: On Wednesday, January 22, 2014 2:06:39 pm Alfred Perlstein wrote: Hmm, what if locks had a pointer to a 2 element char * array, the first being

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread John-Mark Gurney
Alfred Perlstein wrote this message on Wed, Jan 22, 2014 at 14:15 -0800: On 1/22/14, 1:22 PM, John Baldwin wrote: On Wednesday, January 22, 2014 3:59:37 pm Alfred Perlstein wrote: On 1/22/14, 12:27 PM, John Baldwin wrote: On Wednesday, January 22, 2014 2:06:39 pm Alfred Perlstein wrote:

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread Alfred Perlstein
On 1/22/14, 2:52 PM, John-Mark Gurney wrote: Alfred Perlstein wrote this message on Wed, Jan 22, 2014 at 14:15 -0800: On 1/22/14, 1:22 PM, John Baldwin wrote: On Wednesday, January 22, 2014 3:59:37 pm Alfred Perlstein wrote: On 1/22/14, 12:27 PM, John Baldwin wrote: On Wednesday, January

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread Adrian Chadd
.. Make it be an offset into the table rather than a pointer, then we can do dirty rcu style hacks to just replace and grow the table as we need more memory. Don't we have a standard way to pull memory from the top of the physmem area early on for allocations like this? Adrian On Jan 20, 2014

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread Rui Paulo
On 22 Jan 2014, at 20:05, Adrian Chadd adrian.ch...@gmail.com wrote: .. Make it be an offset into the table rather than a pointer, then we can do dirty rcu style hacks to just replace and grow the table as we need more memory. Don't we have a standard way to pull memory from the top of

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread Alfred Perlstein
On 1/22/14, 8:34 PM, Rui Paulo wrote: On 22 Jan 2014, at 20:05, Adrian Chadd adrian.ch...@gmail.com wrote: .. Make it be an offset into the table rather than a pointer, then we can do dirty rcu style hacks to just replace and grow the table as we need more memory. Don't we have a standard

Re: svn commit: r260898 - head/sys/kern

2014-01-22 Thread Adrian Chadd
On 22 January 2014 20:34, Rui Paulo rpa...@freebsd.org wrote: On 22 Jan 2014, at 20:05, Adrian Chadd adrian.ch...@gmail.com wrote: .. Make it be an offset into the table rather than a pointer, then we can do dirty rcu style hacks to just replace and grow the table as we need more memory.

Re: svn commit: r260898 - head/sys/kern

2014-01-21 Thread John Baldwin
On Monday, January 20, 2014 4:21:13 pm Rui Paulo wrote: On 20 Jan 2014, at 08:32, John Baldwin j...@freebsd.org wrote: On Sunday 19 January 2014 18:18:03 Rui Paulo wrote: On 19 Jan 2014, at 17:59, Neel Natu n...@freebsd.org wrote: Author: neel Date: Mon Jan 20 01:59:35 2014 New

Re: svn commit: r260898 - head/sys/kern

2014-01-21 Thread John Baldwin
On Monday, January 20, 2014 5:18:44 pm Alexander Kabaev wrote: On Mon, 20 Jan 2014 11:32:29 -0500 John Baldwin j...@freebsd.org wrote: On Sunday 19 January 2014 18:18:03 Rui Paulo wrote: On 19 Jan 2014, at 17:59, Neel Natu n...@freebsd.org wrote: Author: neel Date: Mon Jan 20

Re: svn commit: r260898 - head/sys/kern

2014-01-20 Thread John Baldwin
On Sunday 19 January 2014 18:18:03 Rui Paulo wrote: On 19 Jan 2014, at 17:59, Neel Natu n...@freebsd.org wrote: Author: neel Date: Mon Jan 20 01:59:35 2014 New Revision: 260898 URL: http://svnweb.freebsd.org/changeset/base/260898 Log: Bump up WITNESS_COUNT from 1024 to 1536 so

Re: svn commit: r260898 - head/sys/kern

2014-01-20 Thread Rui Paulo
On 20 Jan 2014, at 08:32, John Baldwin j...@freebsd.org wrote: On Sunday 19 January 2014 18:18:03 Rui Paulo wrote: On 19 Jan 2014, at 17:59, Neel Natu n...@freebsd.org wrote: Author: neel Date: Mon Jan 20 01:59:35 2014 New Revision: 260898 URL:

Re: svn commit: r260898 - head/sys/kern

2014-01-20 Thread Alexander Kabaev
On Mon, 20 Jan 2014 11:32:29 -0500 John Baldwin j...@freebsd.org wrote: On Sunday 19 January 2014 18:18:03 Rui Paulo wrote: On 19 Jan 2014, at 17:59, Neel Natu n...@freebsd.org wrote: Author: neel Date: Mon Jan 20 01:59:35 2014 New Revision: 260898 URL:

svn commit: r260898 - head/sys/kern

2014-01-19 Thread Neel Natu
Author: neel Date: Mon Jan 20 01:59:35 2014 New Revision: 260898 URL: http://svnweb.freebsd.org/changeset/base/260898 Log: Bump up WITNESS_COUNT from 1024 to 1536 so there are sufficient entries for WITNESS to actually work. Reviewed by: jhb@ Modified: head/sys/kern/subr_witness.c

Re: svn commit: r260898 - head/sys/kern

2014-01-19 Thread Rui Paulo
On 19 Jan 2014, at 17:59, Neel Natu n...@freebsd.org wrote: Author: neel Date: Mon Jan 20 01:59:35 2014 New Revision: 260898 URL: http://svnweb.freebsd.org/changeset/base/260898 Log: Bump up WITNESS_COUNT from 1024 to 1536 so there are sufficient entries for WITNESS to actually work.