linux-numa.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Vlastimil Babka <vbabka-AlSwsSmVLrQ@public.gmane.org>,
	Filipe Brandenburger
	<filbranden-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
	Andi Kleen <andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org>
Cc: "linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-numa <linux-numa-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Missing include in mbind(2) and set_mempolicy(2) manpages?
Date: Mon, 23 Jan 2017 12:57:43 +1300	[thread overview]
Message-ID: <CAKgNAkhBRXm22fBS72T4CP6RutEubaqyDFUJe4gwje_irATzkQ@mail.gmail.com> (raw)
In-Reply-To: <1d46ea2d-0076-603d-d922-1f414c91cea2-AlSwsSmVLrQ@public.gmane.org>

Andi, Filipe,

See the bug report below. I think the problem is rather that the
header files should be fixed. Why are MPOL_F_STATIC_NODES and
MPOL_F_RELATIVE_NODES not declared in numaif.h, whereas the other
MPOL_* constants are?

Cheers,

Michael


On 19 January 2017 at 01:05, Vlastimil Babka <vbabka-AlSwsSmVLrQ@public.gmane.org> wrote:
> Hi,
>
> the two manpages state that you have to #include <numaif.h>
> But apparently this is not enough when one wants to use the
> MPOL_F_STATIC_NODES or MPOL_F_RELATIVE_NODES flag. With grep I found that
> these are defined in linux/mempolicy.h.
>
> This is on openSUSE Tumbleweed, numaif.h comes from
> libnuma-devel-2.0.10-5.7.x86_64 (I checked upstream 2.0.11 tarball, no
> difference here).
> linux/mempolicy.h is from linux-glibc-devel-4.8-1.1.noarch
>
> Thanks,
> Vlastimil



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-01-22 23:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 12:05 Missing include in mbind(2) and set_mempolicy(2) manpages? Vlastimil Babka
     [not found] ` <1d46ea2d-0076-603d-d922-1f414c91cea2-AlSwsSmVLrQ@public.gmane.org>
2017-01-22 23:57   ` Michael Kerrisk (man-pages) [this message]
     [not found]     ` <CAKgNAkhBRXm22fBS72T4CP6RutEubaqyDFUJe4gwje_irATzkQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-04-19 13:28       ` Michael Kerrisk (man-pages)

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=CAKgNAkhBRXm22fBS72T4CP6RutEubaqyDFUJe4gwje_irATzkQ@mail.gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org \
    --cc=filbranden-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-numa-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=vbabka-AlSwsSmVLrQ@public.gmane.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).