public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: arvind.kan@wipro.com
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	"indou.takao" <indou.takao@jp.fujitsu.com>, rml <rml@tech9.net>,
	Dave Jones <davej@suse.de>
Subject: Re: Changing SEMVMX to a tunable parameter
Date: Wed, 28 May 2003 18:15:55 +0200	[thread overview]
Message-ID: <3ED4E0BB.2080603@colorfullife.com> (raw)
In-Reply-To: <3ED4C6B6.7050806@wipro.com>

Arvind Kandhare wrote:

>
> >>How?
> > > SEMVMX is right now 32k, because the value is stored in an signed
> > > short,
> > > both internally and in the SuSv2 ABI.
>
>
> semval is a part of struct sem and it is an integer as of now (2.5.69).
> That is, it doesn't comply with SuS v3 as far as data type is concerned.
>
> SuS v3 specifies semval to be an unsigned short.i.e. we can have a 
> maximum of 64K on this.

Ok, thus you want to increase it from 32k to 64k, but not beyond, correct?
You'd have to check that there are no hidden signed/unsigned assumptions 
in ipc/sem.c

>
> Irrespective of the maximum value, an option to tune this limit would be
> highly desirable.

_If_ there are no signed/unsigned problems and if Oracle wants 64K, then 
I would increase SEMVMX to 64K, without making it tunable. Dito for SEMAEM.

--
    Manfred


  reply	other threads:[~2003-05-28 16:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28 14:24 Changing SEMVMX to a tunable parameter Arvind Kandhare
2003-05-28 16:15 ` Manfred Spraul [this message]
2003-05-29 10:17   ` Arvind Kandhare
2003-05-29 10:34     ` William Lee Irwin III
2003-05-29 10:36     ` Manfred Spraul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ED4E0BB.2080603@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=arvind.kan@wipro.com \
    --cc=davej@suse.de \
    --cc=indou.takao@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rml@tech9.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox