tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: posix semaphore stats



On Thu, Dec 06, 2007 at 12:13:42AM +0200, Mindaugas R. wrote:
> > On Tue, Nov 20, 2007 at 06:23:43PM -0800, Aaron J. Grier wrote:
> > > I can use ipcs to show statistics on sysV semaphores.
> > > 
> > > is there something equivalent for posix semaphores?
> > 
> > to answer my own question, after a co-worker read through the code,
> > apparently not.  this ties into PR36979, where it is noted that the
> > limit is hard-coded at kernel compile time, and there is no kernel
> > config option for it other than using a makeoptions line.
>
> Is there any reason to not allow dynamical changing of SEM_MAX and
> increasing the default value?
> 
> http://www.netbsd.org/~rmind/uipc_sem.diff

looks reasonably useful to me, but I can't comment on its technical
correctness.

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | 
agrier%poofygoof.com@localhost



Home | Main Index | Thread Index | Old Index