All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nadia Derbey <Nadia.Derbey@bull.net>
To: Michael Kerrisk <mtk.manpages@googlemail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-mm@vger.kernel.org
Subject: Re: [PATCH 1/8] Scaling msgmni to the amount of lowmem
Date: Tue, 20 May 2008 16:45:55 +0200	[thread overview]
Message-ID: <4832E423.5040708@bull.net> (raw)
In-Reply-To: <cfd18e0f0805200728j1f38d90s1f6355b71e2d76@mail.gmail.com>

Michael Kerrisk wrote:
> Hello Nadia,
> 
> Regarding your:
> 
> [PATCH 1/8] Scaling msgmni to the amount of lowmem
> http://article.gmane.org/gmane.linux.kernel/637849/
> which I see has made its way in 2.6.26-rc
> 
> Your patch has the following change:
> 
> -#define MSGPOOL (MSGMNI*MSGMNB/1024)  /* size in kilobytes of message pool */
> +#define MSGPOOL (MSGMNI * MSGMNB) /* size in bytes of message pool */
> 
> Since this constitutes a kernel-userland interface change, so please
> do CC me, so that I can change the man pages if needed.

Oops, sorry for not doing it: I misunderstood the "unused"

> 
> The man page (http://www.kernel.org/doc/man-pages/online/pages/man2/msgctl.2.html)
> does indeed say that msgpool is "unused".  But that meant "unused by
> the kernel" (sorry -- I probably should have worded that text better).
>  And, as you spotted, the page also wrongly said the value is in
> bytes.
> 
> However, making this change affects the ABI.  A userspace application
> that was previously using msgctl(IPC_INFO) to retrieve the msgpool
> field will be affected by the factor-of-1024 change.  I strongly
> suspect that there no such applications, or certainly none that care
> (since this value is unused by the kernel).  But was there a reason
> for making this change, aside from the fact that the code and the man
> page didn't agree?
> 

No, that was the only reason.
Should I repost a patch to set it back as it used to be?

Regards
Nadia

  reply	other threads:[~2008-05-20 14:45 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20 14:28 [PATCH 1/8] Scaling msgmni to the amount of lowmem Michael Kerrisk
2008-05-20 14:45 ` Nadia Derbey [this message]
2008-05-20 14:56   ` Michael Kerrisk
2008-05-20 14:56     ` Michael Kerrisk
2008-05-21 10:47   ` Michael Kerrisk
2008-05-21 10:47     ` Michael Kerrisk
  -- strict thread matches above, loose matches on Subject: below --
2008-02-11 14:16 [PATCH 0/8] Change default MSGMNI tunable to scale with lowmem (v3) Nadia.Derbey
2008-02-11 14:16 ` [PATCH 1/8] Scaling msgmni to the amount of lowmem Nadia.Derbey
2008-02-11 14:16   ` Nadia.Derbey
2008-04-29 20:28   ` Tony Luck
2008-04-29 20:28     ` Tony Luck
2008-05-05  8:45     ` Nadia Derbey
2008-05-05  8:45       ` Nadia Derbey
2008-05-06 16:42       ` Luck, Tony
2008-05-06 16:42         ` Luck, Tony
2008-05-06 18:05         ` Serge E. Hallyn
2008-05-06 18:05           ` Serge E. Hallyn
     [not found]           ` <20080506180527.GA8315-6s5zFf/epYLPQpwDFJZrxKsjOiXwFzmk@public.gmane.org>
2008-05-07  5:37             ` Nadia Derbey
2008-05-07  5:37           ` Nadia Derbey
2008-05-07  5:37             ` Nadia Derbey
2008-05-07 13:17             ` Serge E. Hallyn
2008-05-07 13:17               ` Serge E. Hallyn
     [not found]               ` <20080507131712.GA8580-6s5zFf/epYLPQpwDFJZrxKsjOiXwFzmk@public.gmane.org>
2008-05-07 18:12                 ` Matt Helsley
2008-05-07 18:12               ` Matt Helsley
2008-05-07 18:12                 ` Matt Helsley
     [not found]             ` <48214007.7050800-6ktuUTfB/bM@public.gmane.org>
2008-05-07 13:17               ` Serge E. Hallyn
     [not found]         ` <1FE6DD409037234FAB833C420AA843EC014392F9-7XlYjKTK0pM64kNsxIetb7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2008-05-06 18:05           ` Serge E. Hallyn
2008-05-07  5:13           ` Nadia Derbey
2008-05-07  5:13         ` Nadia Derbey
2008-05-07  5:13           ` Nadia Derbey
     [not found]       ` <481EC917.6070808-6ktuUTfB/bM@public.gmane.org>
2008-05-06 16:42         ` Luck, Tony
     [not found]     ` <12c511ca0804291328v2f0b87csd0f2cf3accc6ad00-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-05-05  8:45       ` Nadia Derbey
     [not found]   ` <20080211141813.354484000-6ktuUTfB/bM@public.gmane.org>
2008-02-16  5:59     ` Andrew Morton
2008-02-16  5:59       ` Andrew Morton
2008-02-16  5:59       ` Andrew Morton
     [not found]       ` <20080215215916.8566d337.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-02-18  9:19         ` Nadia Derbey
2008-02-18  9:19       ` Nadia Derbey
2008-02-18  9:19         ` Nadia Derbey
2008-02-18 13:08         ` Nadia Derbey
2008-02-18 13:08           ` Nadia Derbey
     [not found]         ` <47B94D8C.8040605-6ktuUTfB/bM@public.gmane.org>
2008-02-18 13:08           ` Nadia Derbey
2008-04-29 20:28     ` Tony Luck
2008-02-11 14:16 ` Nadia.Derbey-6ktuUTfB/bM

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=4832E423.5040708@bull.net \
    --to=nadia.derbey@bull.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@vger.kernel.org \
    --cc=mtk.manpages@googlemail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.