From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: Missing include in mbind(2) and set_mempolicy(2) manpages? Date: Wed, 19 Apr 2017 15:28:16 +0200 Message-ID: <40f295c1-abb1-b7cf-4c9b-fd62b58117ab@gmail.com> References: <1d46ea2d-0076-603d-d922-1f414c91cea2@suse.cz> Reply-To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:reply-to:references:to:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=R5wkUGVkvvAMVBwJRLqDLwJ8704CJoHYi9uwsGXrM1E=; b=XiEbLNPtR1kMWmFFXw54t6FlPgtc4GmLOGiJFpKUwIldZizqZYfM7wRBjL1ealsCVX 7izAJaAMsIKO5pUCwcF/cwnMVOLhbXr5SGZU9DZRb97uMTonQxrOrlYULiXCmWSk+QOl SwDIH9yootf42ExbKook9OGfk7CvnwgYy+/3xn9Aa90BmkU4LHdpLfe/8+qtXX1MlXZ7 wJebCKL2WjjPyReUi/oGTyXRhC+ijaKaR8zCyntUaNvr3ZO8mYDhELu6JKgLz3puyIYo wKV9ALtorj6QcbZsK9Unk6YnVYFgjIL2a33k+hUQZ1RJPIFIF32m15taACJh1q2YjVZP tasg== In-Reply-To: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Vlastimil Babka , Filipe Brandenburger , Andi Kleen Cc: "linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , 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 wrote: >> Hi, >> >> the two manpages state that you have to #include >> 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