# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2013-09-28 04:06+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: build/C/man2/get_mempolicy.2:27 #, no-wrap msgid "GET_MEMPOLICY" msgstr "" #. type: TH #: build/C/man2/get_mempolicy.2:27 build/C/man2/mbind.2:45 build/C/man2/set_mempolicy.2:27 #, no-wrap msgid "2008-08-15" msgstr "" #. type: TH #: build/C/man2/get_mempolicy.2:27 build/C/man2/getcpu.2:12 build/C/man2/mbind.2:45 build/C/man2/migrate_pages.2:18 build/C/man2/move_pages.2:18 build/C/man7/numa.7:29 build/C/man2/set_mempolicy.2:27 #, no-wrap msgid "Linux" msgstr "" #. type: TH #: build/C/man2/get_mempolicy.2:27 build/C/man2/getcpu.2:12 build/C/man2/mbind.2:45 build/C/man2/migrate_pages.2:18 build/C/man2/move_pages.2:18 build/C/man7/numa.7:29 build/C/man2/set_mempolicy.2:27 #, no-wrap msgid "Linux Programmer's Manual" msgstr "" #. type: SH #: build/C/man2/get_mempolicy.2:28 build/C/man2/getcpu.2:13 build/C/man2/mbind.2:46 build/C/man2/migrate_pages.2:19 build/C/man2/move_pages.2:19 build/C/man7/numa.7:30 build/C/man2/set_mempolicy.2:28 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:30 msgid "get_mempolicy - retrieve NUMA memory policy for a process" msgstr "" #. type: SH #: build/C/man2/get_mempolicy.2:30 build/C/man2/getcpu.2:15 build/C/man2/mbind.2:48 build/C/man2/migrate_pages.2:21 build/C/man2/move_pages.2:21 build/C/man2/set_mempolicy.2:30 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:32 msgid "B<#include Enumaif.hE>" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:37 #, no-wrap msgid "" "BIB<, unsigned long *>IB<,>\n" "B< unsigned long >IB<, unsigned long " ">IB<,>\n" "B< unsigned long >IB<);>\n" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:39 build/C/man2/mbind.2:57 build/C/man2/set_mempolicy.2:38 #, no-wrap msgid "Link with I<-lnuma>.\n" msgstr "" #. type: SH #: build/C/man2/get_mempolicy.2:40 build/C/man2/getcpu.2:25 build/C/man2/mbind.2:58 build/C/man2/migrate_pages.2:31 build/C/man2/move_pages.2:30 build/C/man7/numa.7:32 build/C/man2/set_mempolicy.2:39 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:45 msgid "" "B() retrieves the NUMA policy of the calling process or of a " "memory address, depending on the setting of I." msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:50 build/C/man2/set_mempolicy.2:54 msgid "" "A NUMA machine has different memory controllers with different distances to " "specific CPUs. The memory policy defines from which node memory is " "allocated for the process." msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:67 msgid "" "If I is specified as 0, then information about the calling process's " "default policy (as set by B(2)) is returned. The policy " "returned [I and I] may be used to restore the process's " "policy to its state at the time of the call to B() using " "B(2)." msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:89 msgid "" "If I specifies B (available since Linux 2.6.24), " "the I argument is ignored and the set of nodes [memories] that the " "process is allowed to specify in subsequent calls to B(2) or " "B(2) [in the absence of any I] is returned in " "I. It is not permitted to combine B with " "either B or B." msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:103 msgid "" "If I specifies B, then information is returned about the " "policy governing the memory address given in I. This policy may be " "different from the process's default policy if B(2) or one of the " "helper functions described in B(3) has been used to establish a " "policy for the memory range containing I." msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:124 msgid "" "If the I argument is not NULL, then B() will store the " "policy mode and any optional I of the requested NUMA policy in " "the location pointed to by this argument. If I is not NULL, then " "the nodemask associated with the policy will be stored in the location " "pointed to by this argument. I specifies the number of node IDs " "that can be stored into I\\(emthat is, the maximum node ID plus " "one. The value specified by I is always rounded to a multiple of " "I." msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:141 msgid "" "If I specifies both B and B, " "B() will return the node ID of the node on which the address " "I is allocated into the location pointed to by I. If no page " "has yet been allocated for the specified address, B() will " "allocate a page as if the process had performed a read [load] access to that " "address, and return the ID of the node where that page was allocated." msgstr "" #. Note: code returns next interleave node via 'mode' argument -Lee Schermerhorn #. type: Plain text #: build/C/man2/get_mempolicy.2:166 msgid "" "If I specifies B, but not B, and the " "process's current policy is B, then B() " "will return in the location pointed to by a non-NULL I argument, the " "node ID of the next node that will be used for interleaving of internal " "kernel pages allocated on behalf of the process. These allocations include " "pages for memory mapped files in process memory ranges mapped using the " "B(2) call with the B flag for read accesses, and in " "memory ranges mapped with the B flag for all accesses." msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:168 msgid "Other flag values are reserved." msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:171 msgid "For an overview of the possible policies see B(2)." msgstr "" #. type: SH #: build/C/man2/get_mempolicy.2:171 build/C/man2/getcpu.2:61 build/C/man2/mbind.2:309 build/C/man2/migrate_pages.2:88 build/C/man2/move_pages.2:141 build/C/man2/set_mempolicy.2:220 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:178 msgid "" "On success, B() returns 0; on error, -1 is returned and " "I is set to indicate the error." msgstr "" #. type: SH #: build/C/man2/get_mempolicy.2:178 build/C/man2/getcpu.2:66 build/C/man2/mbind.2:317 build/C/man2/migrate_pages.2:96 build/C/man2/move_pages.2:150 build/C/man2/set_mempolicy.2:227 #, no-wrap msgid "ERRORS" msgstr "" #. type: TP #: build/C/man2/get_mempolicy.2:179 build/C/man2/getcpu.2:67 build/C/man2/mbind.2:319 build/C/man2/move_pages.2:159 build/C/man2/set_mempolicy.2:228 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:186 build/C/man2/set_mempolicy.2:235 msgid "" "Part of all of the memory range specified by I and I " "points outside your accessible address space." msgstr "" #. type: TP #: build/C/man2/get_mempolicy.2:186 build/C/man2/mbind.2:327 build/C/man2/move_pages.2:162 build/C/man2/set_mempolicy.2:235 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:230 msgid "" "The value specified by I is less than the number of node IDs " "supported by the system. Or I specified values other than " "B or B; or I specified B and " "I is NULL, or I did not specify B and I is " "not NULL. Or, I specified B but not B and " "the current process policy is not B. Or, I " "specified B with either B or " "B. (And there are other B cases.)" msgstr "" #. type: SH #: build/C/man2/get_mempolicy.2:230 build/C/man2/getcpu.2:70 build/C/man2/mbind.2:399 build/C/man2/migrate_pages.2:112 build/C/man2/move_pages.2:190 build/C/man2/set_mempolicy.2:275 #, no-wrap msgid "VERSIONS" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:234 msgid "" "The B() system call was added to the Linux kernel in version " "2.6.7." msgstr "" #. type: SH #: build/C/man2/get_mempolicy.2:234 build/C/man2/getcpu.2:73 build/C/man2/mbind.2:403 build/C/man2/migrate_pages.2:116 build/C/man2/move_pages.2:193 build/C/man7/numa.7:148 build/C/man2/set_mempolicy.2:279 #, no-wrap msgid "CONFORMING TO" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:236 build/C/man2/mbind.2:405 build/C/man2/migrate_pages.2:118 build/C/man2/move_pages.2:195 build/C/man2/set_mempolicy.2:281 msgid "This system call is Linux-specific." msgstr "" #. type: SH #: build/C/man2/get_mempolicy.2:236 build/C/man2/getcpu.2:76 build/C/man2/mbind.2:405 build/C/man2/migrate_pages.2:118 build/C/man2/move_pages.2:195 build/C/man7/numa.7:150 build/C/man2/set_mempolicy.2:281 #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:239 build/C/man2/mbind.2:408 build/C/man2/migrate_pages.2:121 build/C/man2/move_pages.2:198 build/C/man2/set_mempolicy.2:289 msgid "For information on library support, see B(7)." msgstr "" #. type: SH #: build/C/man2/get_mempolicy.2:239 build/C/man2/getcpu.2:139 build/C/man2/mbind.2:457 build/C/man2/migrate_pages.2:148 build/C/man2/move_pages.2:225 build/C/man7/numa.7:183 build/C/man2/set_mempolicy.2:289 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:247 msgid "" "B(2), B(2), B(2), B(2), B(3), " "B(7), B(8)" msgstr "" #. type: SH #: build/C/man2/get_mempolicy.2:247 build/C/man2/getcpu.2:145 build/C/man2/mbind.2:468 build/C/man2/migrate_pages.2:161 build/C/man2/move_pages.2:235 build/C/man7/numa.7:191 build/C/man2/set_mempolicy.2:298 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: build/C/man2/get_mempolicy.2:254 build/C/man2/getcpu.2:152 build/C/man2/mbind.2:475 build/C/man2/migrate_pages.2:168 build/C/man2/move_pages.2:242 build/C/man7/numa.7:198 build/C/man2/set_mempolicy.2:305 msgid "" "This page is part of release 3.54 of the Linux I project. A " "description of the project, and information about reporting bugs, can be " "found at \\%http://www.kernel.org/doc/man-pages/." msgstr "" #. type: TH #: build/C/man2/getcpu.2:12 #, no-wrap msgid "GETCPU" msgstr "" #. type: TH #: build/C/man2/getcpu.2:12 #, no-wrap msgid "2013-04-03" msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:15 msgid "getcpu - determine CPU and NUMA node on which the calling thread is running" msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:18 #, no-wrap msgid "B<#include Elinux/getcpu.hE>\n" msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:21 #, no-wrap msgid "" "BIB<, unsigned *>IB<, struct getcpu_cache " "*>IB<);>\n" msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:25 msgid "I: There is no glibc wrapper for this system call; see NOTES." msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:42 msgid "" "The B() system call identifies the processor and node on which the " "calling thread or process is currently running and writes them into the " "integers pointed to by the I and I arguments. The processor is a " "unique small integer identifying a CPU. The node is a unique small " "identifier identifying a NUMA node. When either I or I is NULL " "nothing is written to the respective pointer." msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:46 msgid "" "The third argument to this system call is nowadays unused, and should be " "specified as NULL unless portability to Linux 2.6.23 or earlier is required " "(see NOTES)." msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:61 msgid "" "The information placed in I is guaranteed to be current only at the " "time of the call: unless the CPU affinity has been fixed using " "B(2), the kernel might change the CPU at any time. " "(Normally this does not happen because the scheduler tries to minimize " "movements between CPUs to keep caches hot, but it is possible.) The caller " "must allow for the possibility that the information returned in I and " "I is no longer current by the time the call returns." msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:66 msgid "" "On success, 0 is returned. On error, -1 is returned, and I is set " "appropriately." msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:70 msgid "Arguments point outside the calling process's address space." msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:73 msgid "B() was added in kernel 2.6.19 for x86_64 and i386." msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:76 msgid "B() is Linux specific." msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:82 msgid "" "Linux makes a best effort to make this call as fast possible. The intention " "of B() is to allow programs to make optimizations with per-CPU data " "or for NUMA optimization." msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:88 msgid "" "Glibc does not provide a wrapper for this system call; call it using " "B(2); or use B(3) instead." msgstr "" #. commit 4307d1e5ada595c87f9a4d16db16ba5edb70dcb1 #. Author: Ingo Molnar #. Date: Wed Nov 7 18:37:48 2007 +0100 #. x86: ignore the sys_getcpu() tcache parameter # #. ===== Before kernel 2.6.24: ===== #. .I tcache #. is a pointer to a #. .IR "struct getcpu_cache" #. that is used as a cache by #. .BR getcpu (). #. The caller should put the cache into a thread-local variable #. if the process is multithreaded, #. because the cache cannot be shared between different threads. #. .I tcache #. can be NULL. #. If it is not NULL #. .BR getcpu () #. will use it to speed up operation. #. The information inside the cache is private to the system call #. and should not be accessed by the user program. #. The information placed in the cache can change between kernel releases. # #. When no cache is specified #. .BR getcpu () #. will be slower, #. but always retrieve the current CPU and node information. #. With a cache #. .BR getcpu () #. is faster. #. However, the cached information is updated only once per jiffy (see #. .BR time (7)). #. This means that the information could theoretically be out of date, #. although in practice the scheduler's attempt to maintain #. soft CPU affinity means that the information is unlikely to change #. over the course of the caching interval. #. type: Plain text #: build/C/man2/getcpu.2:139 msgid "" "The I argument is unused since Linux 2.6.24. In earlier kernels, if " "this argument was non-NULL, then it specified a pointer to a " "caller-allocated buffer in thread-local storage that was used to provide a " "caching mechanism for B(). Use of the cache could speed B() " "calls, at the cost that there was a very small chance that the returned " "information would be out of date. The caching mechanism was considered to " "cause problems when migrating threads between CPUs, and so the argument is " "now ignored." msgstr "" #. type: Plain text #: build/C/man2/getcpu.2:145 msgid "" "B(2), B(2), B(2), " "B(3), B(7)" msgstr "" #. type: TH #: build/C/man2/mbind.2:45 #, no-wrap msgid "MBIND" msgstr "" #. type: Plain text #: build/C/man2/mbind.2:48 msgid "mbind - set memory policy for a memory range" msgstr "" #. type: Plain text #: build/C/man2/mbind.2:51 build/C/man2/migrate_pages.2:24 build/C/man2/move_pages.2:24 build/C/man2/set_mempolicy.2:33 #, no-wrap msgid "B<#include Enumaif.hE>\n" msgstr "" #. type: Plain text #: build/C/man2/mbind.2:55 #, no-wrap msgid "" "BIB<, unsigned long >IB<, int >IB<,>\n" "B< unsigned long *>IB<, unsigned long >IB<,>\n" "B< unsigned >IB<);>\n" msgstr "" #. type: Plain text #: build/C/man2/mbind.2:68 msgid "" "B() sets the NUMA memory policy, which consists of a policy mode and " "zero or more nodes, for the memory range starting with I and " "continuing for I bytes. The memory policy defines from which node " "memory is allocated." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:90 msgid "" "If the memory range specified by the I and I arguments includes " "an \"anonymous\" region of memory\\(emthat is a region of memory created " "using the B(2) system call with the B\\(emor a memory " "mapped file, mapped using the B(2) system call with the " "B flag, pages will be allocated only according to the specified " "policy when the application writes [stores] to the page. For anonymous " "regions, an initial read access will use a shared page in the kernel " "containing all zeros. For a file mapped with B, an initial " "read access will allocate pages according to the process policy of the " "process that causes the page to be allocated. This may not be the process " "that called B()." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:98 msgid "" "The specified policy will be ignored for any B mappings in the " "specified memory range. Rather the pages will be allocated according to the " "process policy of the process that caused the page to be allocated. Again, " "this may not be the process that called B()." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:115 msgid "" "If the specified memory range includes a shared memory region created using " "the B(2) system call and attached using the B(2) system " "call, pages allocated for the anonymous or shared memory region will be " "allocated according to the policy specified, regardless which process " "attached to the shared memory segment causes the allocation. If, however, " "the shared memory region was created with the B flag, the huge " "pages will be allocated according to the policy specified only if the page " "allocation is caused by the process that calls B() for that region." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:126 msgid "" "By default, B() has an effect only for new allocations; if the pages " "inside the range have been already touched before setting the policy, then " "the policy has no effect. This default behavior may be overridden by the " "B and B flags described below." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:141 msgid "" "The I argument must specify one of B, B, " "B or B. All policy modes except " "B require the caller to specify via the I argument, " "the node or nodes to which the mode applies." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:149 msgid "" "The I argument may also include an optional I. The " "supported I are:" msgstr "" #. type: TP #: build/C/man2/mbind.2:149 #, no-wrap msgid "B (since Linux-2.6.26)" msgstr "" #. type: Plain text #: build/C/man2/mbind.2:159 msgid "" "A nonempty I specifies physical node ids. Linux does not remap " "the I when the process moves to a different cpuset context, nor " "when the set of nodes allowed by the process's current cpuset context " "changes." msgstr "" #. type: TP #: build/C/man2/mbind.2:159 #, no-wrap msgid "B (since Linux-2.6.26)" msgstr "" #. type: Plain text #: build/C/man2/mbind.2:165 build/C/man2/set_mempolicy.2:113 msgid "" "A nonempty I specifies node ids that are relative to the set of " "node ids allowed by the process's current cpuset." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:193 msgid "" "I points to a bit mask of nodes containing up to I bits. " "The bit mask size is rounded to the next multiple of I, but the kernel will use bits only up to I. A NULL value of " "I or a I value of zero specifies the empty set of nodes. " "If the value of I is zero, the I argument is ignored. " "Where a I is required, it must contain at least one node that is " "on-line, allowed by the process's current cpuset context [unless the " "B mode flag is specified], and contains memory." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:215 msgid "" "The B mode requests that any nondefault policy be removed, " "restoring default behavior. When applied to a range of memory via " "B(), this means to use the process policy, which may have been set " "with B(2). If the mode of the process policy is also " "B, the system-wide default policy will be used. The " "system-wide default policy allocates pages on the node of the CPU that " "triggers the allocation. For B, the I and " "I arguments must be specify the empty set of nodes." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:232 msgid "" "The B mode specifies a strict policy that restricts memory " "allocation to the nodes specified in I. If I specifies " "more than one node, page allocations will come from the node with the lowest " "numeric node ID first, until that node contains no free memory. Allocations " "will then come from the node with the next highest node ID specified in " "I and so forth, until none of the specified nodes contain free " "memory. Pages will not be allocated from any node not specified in the " "I." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:245 msgid "" "The B mode specifies that page allocations be interleaved " "across the set of nodes specified in I. This optimizes for " "bandwidth instead of latency by spreading out pages and memory accesses to " "those pages across multiple nodes. To be effective the memory area should " "be fairly large, at least 1MB or bigger with a fairly uniform access " "pattern. Accesses to a single page of the area will still be limited to the " "memory bandwidth of a single node." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:264 msgid "" "B sets the preferred node for allocation. The kernel will " "try to allocate pages from this node first and fall back to other nodes if " "the preferred nodes is low on free memory. If I specifies more " "than one node ID, the first node in the mask will be selected as the " "preferred node. If the I and I arguments specify the " "empty set, then the memory is allocated on the node of the CPU that " "triggered the allocation. This is the only way to specify \"local " "allocation\" for a range of memory via B()." msgstr "" #. According to the kernel code, the following is not true #. --Lee Schermerhorn #. In 2.6.16 or later the kernel will also try to move pages #. to the requested node with this flag. #. type: Plain text #: build/C/man2/mbind.2:280 msgid "" "If B is passed in I and I is not " "B, then the call will fail with the error B if the " "existing pages in the memory range don't follow the policy." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:293 msgid "" "If B is specified in I, then the kernel will attempt to " "move all the existing pages in the memory range so that they follow the " "policy. Pages that are shared with other processes will not be moved. If " "B is also specified, then the call will fail with the error " "B if some pages could not be moved." msgstr "" #. --------------------------------------------------------------- #. type: Plain text #: build/C/man2/mbind.2:309 msgid "" "If B is passed in I, then the kernel will attempt " "to move all existing pages in the memory range regardless of whether other " "processes use the pages. The calling process must be privileged " "(B) to use this flag. If B is also " "specified, then the call will fail with the error B if some pages could " "not be moved." msgstr "" #. --------------------------------------------------------------- #. type: Plain text #: build/C/man2/mbind.2:317 msgid "" "On success, B() returns 0; on error, -1 is returned and I is " "set to indicate the error." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:327 msgid "" "Part or all of the memory range specified by I and I " "points outside your accessible address space. Or, there was an unmapped " "hole in the specified memory range." msgstr "" #. As at 2.6.23, this limit is "a page worth of bits", e.g., #. 8 * 4096 bits, assuming a 4kB page size. #. type: Plain text #: build/C/man2/mbind.2:375 msgid "" "An invalid value was specified for I or I; or I was " "less than I; or I is not a multiple of the system page size. " "Or, I is B and I specified a nonempty set; or " "I is B or B and I is empty. Or, " "I exceeds a kernel-imposed limit. Or, I specifies one or " "more node IDs that are greater than the maximum supported node ID. Or, none " "of the node IDs specified by I are on-line and allowed by the " "process's current cpuset context, or none of the specified nodes contain " "memory. Or, the I argument specified both B and " "B." msgstr "" #. type: TP #: build/C/man2/mbind.2:375 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: build/C/man2/mbind.2:386 msgid "" "B was specified and an existing page was already on a node " "that does not follow the policy; or B or B " "was specified and the kernel was unable to move all existing pages in the " "range." msgstr "" #. type: TP #: build/C/man2/mbind.2:386 build/C/man2/set_mempolicy.2:272 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: build/C/man2/mbind.2:389 build/C/man2/set_mempolicy.2:275 msgid "Insufficient kernel memory was available." msgstr "" #. type: TP #: build/C/man2/mbind.2:389 build/C/man2/migrate_pages.2:97 build/C/man2/move_pages.2:178 #, no-wrap msgid "B" msgstr "" #. --------------------------------------------------------------- #. type: Plain text #: build/C/man2/mbind.2:399 msgid "" "The I argument included the B flag and the caller " "does not have the B privilege." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:403 msgid "The B() system call was added to the Linux kernel in version 2.6.7." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:413 msgid "" "NUMA policy is not supported on a memory mapped file range that was mapped " "with the B flag." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:445 msgid "" "The B mode can have different effects for B() and " "B(2). When B is specified for " "B(2), the process's policy reverts to system default policy " "or local allocation. When B is specified for a range of " "memory using B(), any pages subsequently allocated for that range " "will use the process's policy, as set by B(2). This " "effectively removes the explicit policy from the specified range, \"falling " "back\" to a possibly nondefault policy. To select explicit \"local " "allocation\" for a memory range, specify a I of B with " "an empty set of nodes. This method will work for B(2), as " "well." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:449 msgid "" "Support for huge page policy was added with 2.6.16. For interleave policy " "to be effective on huge page mappings the policied memory needs to be tens " "of megabytes or larger." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:452 msgid "B is ignored on huge page mappings." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:457 msgid "" "B and B are available only on Linux 2.6.16 " "and later." msgstr "" #. type: Plain text #: build/C/man2/mbind.2:468 msgid "" "B(2), B(2), B(2), B(2), " "B(2), B(2), B(3), B(7), B(7), " "B(8)" msgstr "" #. type: TH #: build/C/man2/migrate_pages.2:18 #, no-wrap msgid "MIGRATE_PAGES" msgstr "" #. type: TH #: build/C/man2/migrate_pages.2:18 #, no-wrap msgid "2012-08-01" msgstr "" #. type: Plain text #: build/C/man2/migrate_pages.2:21 msgid "migrate_pages - move all pages in a process to another set of nodes" msgstr "" #. type: Plain text #: build/C/man2/migrate_pages.2:28 #, no-wrap msgid "" "BIB<, unsigned long >I\n" "B< const unsigned long *>I\n" "B< const unsigned long *>IB<);>\n" msgstr "" #. type: Plain text #: build/C/man2/migrate_pages.2:31 build/C/man2/move_pages.2:30 msgid "Link with I<-lnuma>." msgstr "" #. type: Plain text #: build/C/man2/migrate_pages.2:47 msgid "" "B() attempts to move all pages of the process I that " "are in memory nodes I to the memory nodes in I. Pages " "not located in any node in I will not be migrated. As far as " "possible, the kernel maintains the relative topology relationship inside " "I during the migration to I." msgstr "" #. type: Plain text #: build/C/man2/migrate_pages.2:69 msgid "" "The I and I arguments are pointers to bit masks of " "node numbers, with up to I bits in each mask. These masks are " "maintained as arrays of unsigned I integers (in the last I " "integer, the bits beyond those specified by I are ignored). The " "I argument is the maximum node number in the bit mask plus one " "(this is the same as in B(2), but different from B