linux-numa.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Missing include in mbind(2) and set_mempolicy(2) manpages?
@ 2017-01-18 12:05 Vlastimil Babka
       [not found] ` <1d46ea2d-0076-603d-d922-1f414c91cea2-AlSwsSmVLrQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Vlastimil Babka @ 2017-01-18 12:05 UTC (permalink / raw)
  To: Michael Kerrisk
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, linux-numa-u79uwXL29TY76Z2rM5mHXA

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
--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing include in mbind(2) and set_mempolicy(2) manpages?
       [not found] ` <1d46ea2d-0076-603d-d922-1f414c91cea2-AlSwsSmVLrQ@public.gmane.org>
@ 2017-01-22 23:57   ` Michael Kerrisk (man-pages)
       [not found]     ` <CAKgNAkhBRXm22fBS72T4CP6RutEubaqyDFUJe4gwje_irATzkQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-01-22 23:57 UTC (permalink / raw)
  To: Vlastimil Babka, Filipe Brandenburger, Andi Kleen
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, linux-numa

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing include in mbind(2) and set_mempolicy(2) manpages?
       [not found]     ` <CAKgNAkhBRXm22fBS72T4CP6RutEubaqyDFUJe4gwje_irATzkQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-04-19 13:28       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-04-19 13:28 UTC (permalink / raw)
  To: Vlastimil Babka, Filipe Brandenburger, Andi Kleen
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, linux-numa

Andi, Filipe: Ping!

Thanks,

Michael


On 01/23/2017 12:57 AM, Michael Kerrisk (man-pages) wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-19 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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)
     [not found]     ` <CAKgNAkhBRXm22fBS72T4CP6RutEubaqyDFUJe4gwje_irATzkQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-04-19 13:28       ` Michael Kerrisk (man-pages)

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 NNTP newsgroup(s).