#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:53+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages/man2/get_mempolicy.2:27 #, no-wrap msgid "GET_MEMPOLICY" msgstr "" #. type: TH #: man-pages/man2/get_mempolicy.2:27 #, no-wrap msgid "2008-08-15" msgstr "" #. type: TH #: man-pages/man2/get_mempolicy.2:27 #, no-wrap msgid "Linux" msgstr "" #. type: TH #: man-pages/man2/get_mempolicy.2:27 #, no-wrap msgid "Linux Programmer's Manual" msgstr "" #. type: SH #: man-pages/man2/get_mempolicy.2:28 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages/man2/get_mempolicy.2:30 msgid "get_mempolicy - retrieve NUMA memory policy for a process" msgstr "" #. type: SH #: man-pages/man2/get_mempolicy.2:30 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages/man2/get_mempolicy.2:32 msgid "B<#include Enumaif.hE>" msgstr "" #. type: Plain text #: man-pages/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 #: man-pages/man2/get_mempolicy.2:39 #, no-wrap msgid "Link with I<-lnuma>.\n" msgstr "" #. type: SH #: man-pages/man2/get_mempolicy.2:40 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages/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 #: man-pages/man2/get_mempolicy.2:50 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 #: man-pages/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 #: man-pages/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 #: man-pages/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 #: man-pages/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 #: man-pages/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 #: man-pages/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 #: man-pages/man2/get_mempolicy.2:168 msgid "Other flag values are reserved." msgstr "" #. type: Plain text #: man-pages/man2/get_mempolicy.2:171 msgid "For an overview of the possible policies see B(2)." msgstr "" #. type: SH #: man-pages/man2/get_mempolicy.2:171 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: man-pages/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 #: man-pages/man2/get_mempolicy.2:178 #, no-wrap msgid "ERRORS" msgstr "" #. type: TP #: man-pages/man2/get_mempolicy.2:179 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/get_mempolicy.2:186 msgid "" "Part of all of the memory range specified by I and I " "points outside your accessible address space." msgstr "" #. type: TP #: man-pages/man2/get_mempolicy.2:186 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/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 #: man-pages/man2/get_mempolicy.2:230 #, no-wrap msgid "VERSIONS" msgstr "" #. type: Plain text #: man-pages/man2/get_mempolicy.2:234 msgid "" "The B() system call was added to the Linux kernel in version " "2.6.7." msgstr "" #. type: SH #: man-pages/man2/get_mempolicy.2:234 #, no-wrap msgid "CONFORMING TO" msgstr "" #. type: Plain text #: man-pages/man2/get_mempolicy.2:236 msgid "This system call is Linux-specific." msgstr "" #. type: SH #: man-pages/man2/get_mempolicy.2:236 #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: man-pages/man2/get_mempolicy.2:239 msgid "For information on library support, see B(7)." msgstr "" #. type: SH #: man-pages/man2/get_mempolicy.2:239 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages/man2/get_mempolicy.2:247 msgid "" "B(2), B(2), B(2), B(2), B(3), " "B(7), B(8)" msgstr "" #. type: SH #: man-pages/man2/get_mempolicy.2:247 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: man-pages/man2/get_mempolicy.2:255 msgid "" "This page is part of release 3.70 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/" "." msgstr ""