From: Nadia Derbey <Nadia.Derbey@bull.net>
To: Solofo.Ramangalahy@bull.net
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org, matthltc@us.ibm.com,
cmm@us.ibm.com, manfred@colorfullife.com,
nickpiggin@yahoo.com.au
Subject: Re: [PATCH -mm 0/3] sysv ipc: increase msgmnb with the number of cpus
Date: Thu, 03 Jul 2008 14:05:41 +0200 [thread overview]
Message-ID: <486CC095.90305@bull.net> (raw)
In-Reply-To: <18540.26117.5299.993598@frecb006361.adech.frec.bull.fr>
Solofo.Ramangalahy@bull.net wrote:
> Andrew Morton writes:
> > I'm afraid I've lost track of what's happening here. Did we come up
> > with an alternative to "magical positive-versus-negative number trick"?
>
> Yes, several proposals:
> 1. /proc/sys/kernel/automatic-msgmnb
> (attempt attached).
>
> 2. a variation /sys/kernel/automatic/msgmn*
> as a mean to alleviate the doubling of the interface.
>
> > Your patch #1 adds and uses recompute_msgmnb() without adding the
> > declaration to a header file. Your patch #2 does add the
> > recompute_msgmnb() to a header file, so we have a window in which the
> > build is broken, which is bad.
>
> Sorry. Another fix needed to my quilt workflow.
> Thanks.
>
> > recompute_msgmnb() isn't a terribly good globally-visible identifier,
> > btw. It is nice to add some subsystem identifer as a prefix. There's
> > little chance of this symbol colliding with anything else, so this is a
> > minor cosmetic thing in this case.
>
> ok. msg_recompute_msgmnb seems to be the better name.
>
Solofo,
I had a look at your patch, and noticed that it is mixing msgmni and
msgmnb stuff.
Since the msgmni part is already in mainline, I think we need first to
fix the interface issue for msgmni: I've got a patch ready.
And your patch, when reviwed, can then come on top of it.
Sending the patch right now.
Regards,
Nadia
prev parent reply other threads:[~2008-07-03 12:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-24 9:34 [PATCH -mm 0/3] sysv ipc: increase msgmnb with the number of cpus Solofo.Ramangalahy
2008-06-24 9:34 ` [PATCH -mm 1/3] sysv ipc: increase msgmnb default value wrt. " Solofo.Ramangalahy
2008-06-24 21:31 ` Andrew Morton
2008-06-25 10:34 ` Nadia Derbey
2008-06-26 14:49 ` Nadia Derbey
2008-06-26 16:12 ` Andrew Morton
2008-06-24 9:34 ` [PATCH -mm 2/3] sysv ipc: recompute msgmnb (and msgmni) on cpu hotplug addition and removal Solofo.Ramangalahy
2008-06-24 9:34 ` [PATCH -mm 3/3] sysv ipc: deconnect msgmnb and msgmni deactivation and reactivation Solofo.Ramangalahy
2008-07-01 22:16 ` [PATCH -mm 0/3] sysv ipc: increase msgmnb with the number of cpus Andrew Morton
2008-07-03 5:39 ` Solofo.Ramangalahy
2008-07-03 12:05 ` Nadia Derbey [this message]
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=486CC095.90305@bull.net \
--to=nadia.derbey@bull.net \
--cc=Solofo.Ramangalahy@bull.net \
--cc=akpm@linux-foundation.org \
--cc=cmm@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=matthltc@us.ibm.com \
--cc=nickpiggin@yahoo.com.au \
/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