Subject: Re: disabling PTHREAD_CONCURRENCY for 3.0
To: None <>
From: None <>
List: tech-kern
Date: 12/11/2005 19:48:33
On Sun, Dec 11, 2005 at 05:54:46PM +0100, Hubert Feyrer wrote:
> On Sat, 10 Dec 2005, Chuck Silvers wrote:
> >since the code triggered by setting PTHREAD_CONCURRENCY causes
> >library aborts and kernel panics, I'd like to disable it for 3.0
> >since it doesn't appear that it can be fixed in time.
> The variable was available in previous releases, how do  you intend to 
> handle backward compatibility?
> I'd rather keep it, with a default of 1. This allows users to still set it 
> higher and debug things.

Add a sysctl to specify the maximum value supported by the kernel,
defaulting to 1. This is useful anyway :-)