Commit Graph

42 Commits

Author SHA1 Message Date
Michael Kerrisk bafd3d1f0f get_mempolicy.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 09:56:55 +02:00
Michael Kerrisk c5ae834f01 get_mempolicy.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 09:40:44 +02:00
Michael Kerrisk dedc639c67 get_mempolicy.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 09:40:21 +02:00
Michael Kerrisk 3df541c0e6 ldd.1, localedef.1, add_key.2, chroot.2, clone.2, fork.2, futex.2, get_mempolicy.2, get_robust_list.2, getitimer.2, getpriority.2, ioctl.2, ioctl_ficlonerange.2, ioctl_fideduperange.2, kcmp.2, kill.2, lookup_dcookie.2, mmap.2, mount.2, open.2, pciconfig_read.2, perf_event_open.2, prctl.2, process_vm_readv.2, ptrace.2, quotactl.2, recv.2, setfsgid.2, setfsuid.2, sysinfo.2, umask.2, umount.2, unshare.2, utimensat.2, wait.2, assert.3, fmax.3, fmin.3, getauxval.3, inet_pton.3, malloc_hook.3, memmem.3, mkdtemp.3, mktemp.3, printf.3, strcasecmp.3, strcat.3, strtoul.3, strxfrm.3, console_codes.4, console_ioctl.4, lirc.4, tty.4, vcs.4, charmap.5, elf.5, locale.5, proc.5, repertoiremap.5, utmp.5, capabilities.7, cgroup_namespaces.7, cgroups.7, charsets.7, cp1251.7, cp1252.7, credentials.7, feature_test_macros.7, iso_8859-1.7, iso_8859-15.7, iso_8859-5.7, koi8-r.7, koi8-u.7, man-pages.7, mount_namespaces.7, namespaces.7, netlink.7, pid_namespaces.7, unix.7, user_namespaces.7, utf-8.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-17 18:10:19 +02:00
Michael Kerrisk 69a7267960 get_mempolicy.2: Correct rounding to 'maxnodes' (bits, not bytes)
Reported-by: Jörn Engel <joern@purestorage.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-02 21:32:22 -05:00
Michael Kerrisk f9e2bea7ca get_mempolicy.2: Fix prototype for get_mempolicy()
In numaif.h, 'add' is typed as 'void *'

Reported-by: Jörn Engel <joern@purestorage.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-02 21:18:16 -05:00
Michael Kerrisk 67d2c6873c add_key.2, chown.2, epoll_ctl.2, epoll_wait.2, execve.2, fcntl.2, get_mempolicy.2, getxattr.2, ioctl.2, keyctl.2, listxattr.2, mkdir.2, mknod.2, mmap.2, msync.2, nfsservctl.2, open.2, prctl.2, removexattr.2, request_key.2, sendfile.2, set_mempolicy.2, setxattr.2, shmget.2, shutdown.2, sigaction.2, syslog.2, truncate.2, umask.2, CPU_SET.3, atexit.3, bsearch.3, cmsg.3, err.3, gethostid.3, getmntent.3, getopt.3, iconv_close.3, inet_ntop.3, longjmp.3, lsearch.3, mcheck.3, on_exit.3, putpwent.3, regex.3, resolver.3, setbuf.3, setjmp.3, setlocale.3, setlogmask.3, sleep.3, strsignal.3, sysconf.3, undocumented.3, tty_ioctl.4, proc.5, resolv.conf.5, tzfile.5, aio.7, bootparam.7, capabilities.7, fanotify.7, inotify.7, ip.7, packet.7, pthreads.7, raw.7, signal.7, socket.7, unix.7, ld.so.8, nscd.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 08:26:32 +02:00
Brice Goglin 856778162b get_mempolicy.2, set_mempolicy: Policy is per thread, not per process
set/get_mempolicy manpages say that the memory allocation
policy is per process while reading the code and testing shows
that it's actually per thread.  Here's a quick fix, which may
need to be improved to better explain that we're allocating
in the context of a thread within a process address space.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-06 20:37:34 +02:00
Michael Kerrisk 9a141bfb1f get_mempolicy.2, mbind.2, mlock.2, set_mempolicy.2, bootparam.7, packet.7: grfix: s/memory mapped/memory-mapped/ when used attributively
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 11:00:31 +13:00
Michael Kerrisk 9f882130df get_mempolicy.2, mbind.2, set_mempolicy.2: Added LICENSE_START(VERBATIM_PROF)
Same as "Verbatim" license, but excludes the text:

    The author(s) may not have taken the same level of care
    in the production of this manual, which is licensed free
    of charge, as they might when working professionally.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:10 +01:00
Michael Kerrisk f68512e9fe intro.1, add_key.2, get_mempolicy.2, get_thread_area.2, intro.2, keyctl.2, mbind.2, request_key.2, set_thread_area.2, clock.3, cmsg.3, getcwd.3, getpw.3, intro.3, malloc.3, posix_memalign.3, shm_open.3, sleep.3, sysconf.3, intro.4, sd.4, intro.5, locale.5, slabinfo.5, intro.6, boot.7, bootparam.7, futex.7, glob.7, hier.7, intro.7, libc.7, locale.7, mq_overview.7, netlink.7, sem_overview.7, shm_overview.7, unix.7, intro.8: Global fix: Use consistent capitalization in NAME section
The line(s) in the NAME section should only use capitals
where English usage dictates that. Otherwise, use
lowercase throughout.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:53:48 +02:00
Simon Paillard 3cbd3fee32 get_mempolicy.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Nicolas Franois 5c03d6b181 get_mempolicy.2: Minor fixes
There should be no comma here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Michael Kerrisk 4ed3353db2 get_mempolicy.2, mbind.2, set_mempolicy.2: grfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 07:49:59 +13:00
Michael Kerrisk 69f06e4f98 Add reference to numa(7) for information on library support.
Added  a VERSIONS section.
SEE ALSO: Add numa(7).
2008-08-13 08:19:47 +00:00
Michael Kerrisk 5a35e62092 Removed trailing white space at end of lines 2008-08-12 10:27:05 +00:00
Michael Kerrisk 58a69c3c86 tstamp 2008-08-11 05:28:31 +00:00
Michael Kerrisk 20ca75a0d7 Lee Schermerhorn
Update the get_mempolicy(2) man page to add in the description of
the MPOL_F_MEMS_ALLOWED flag, added in 2.6.23.
mtk
Document additional EINVAL error that occurs is MPOL_F_MEMS_ALLOWED
is specified with either MPOL_F_ADDR or MPOL_F_NODE.
2008-08-08 20:02:56 +00:00
Michael Kerrisk 63e28ad443 Lee Schermerhorn
Misc cleanup of get_mempolicy(2):
+ mention that any mode flags will be saved with mode.
I don't bother to document mode flags here because we
already have a pointer to set_mempolicy(2) for more info
on memory policy.  mode flags are discussed there.
+ remove some old, obsolete [IMO] NOTES and 'roff comments.
2008-08-08 19:47:20 +00:00
Michael Kerrisk f0c34053bc Put SEE ALSO section into alphabetical order. 2008-07-14 15:52:21 +00:00
Michael Kerrisk fa23e0232e SEE ALSO: Add getcpu(2). 2008-07-03 12:20:42 +00:00
Michael Kerrisk 5ada556d56 spfix 2008-03-11 12:37:48 +00:00
Michael Kerrisk 8382f16db1 grfix 2007-12-25 21:28:09 +00:00
Michael Kerrisk cf94921b75 ffix 2007-12-20 11:25:58 +00:00
Michael Kerrisk 5aa7f157d4 Add CONFORMING TO section. 2007-11-24 10:15:53 +00:00
Michael Kerrisk b3a7b55e83 Reorder ERRORS sctions alphabetically 2007-10-23 06:21:25 +00:00
Michael Kerrisk 1d93c27249 Updated FIXME 2007-10-13 12:51:17 +00:00
Michael Kerrisk 0daa9e92d0 Fix redundant formatting macros 2007-09-20 16:26:31 +00:00
Michael Kerrisk 00045cbb7e Minor edits. 2007-08-27 11:34:07 +00:00
Michael Kerrisk 05c7d833f8 + changed the "policy" parameter to "mode" through out the
descriptions in an attempt to promote the concept that the memory
  policy is a tuple consisting of a mode and optional set of nodes.

+ added requirement to link '-lnuma' to synopsis

+ rewrite portions of description for clarification.

+ added all errors currently returned by sys call.

+ removed cautionary note that use of MPOL_F_NODE|MPOL_F_ADDR
  is not supported.  This is no longer true.

+ added mmap(2) to See Also list.
2007-08-27 11:09:06 +00:00
Michael Kerrisk 1274071a69 ffix 2007-06-22 18:25:23 +00:00
Michael Kerrisk 0e1ad98ccf Updated FIXMEs 2007-06-13 21:48:16 +00:00
Michael Kerrisk a1d5f77cc8 Reordered sections to be more consistent, in some cases renaming
sections or shifting paragraphs between sections.
2007-05-18 16:06:42 +00:00
Michael Kerrisk 413901b165 wfix 2007-05-18 11:01:49 +00:00
Michael Kerrisk 6996254443 Fix inconsistencies in .TH lines 2007-05-18 09:55:10 +00:00
Michael Kerrisk 3d5a3539b7 Fix inconsistencies in .TH lines 2007-05-18 09:11:21 +00:00
Michael Kerrisk fcd0a03701 Made a .SH line into .SS 2007-05-16 03:15:20 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk 9d9dc1e854 Updated CONFORMING TO and/or standards references 2006-08-04 09:41:28 +00:00
Michael Kerrisk ac5d787d2a Changed FIXME formatting 2006-03-05 20:19:42 +00:00
Michael Kerrisk 92057f4dbc Updated FIXMEs 2006-02-08 09:44:13 +00:00
Michael Kerrisk 314093c9cd New pages on NUMA memory allocation policy API. 2006-02-08 03:20:44 +00:00