OSDN Git Service

857da08ac0b160c251edcf6e686625179195bc17
[linuxjm/LDP_man-pages.git] / draft / man2 / get_mempolicy.2
1 .\" Copyright 2003,2004 Andi Kleen, SuSE Labs.
2 .\" and Copyright 2007 Lee Schermerhorn, Hewlett Packard
3 .\"
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.
17 .\"
18 .\" Formatted or processed versions of this manual, if unaccompanied by
19 .\" the source, must acknowledge the copyright and authors of this work.
20 .\"
21 .\" 2006-02-03, mtk, substantial wording changes and other improvements
22 .\" 2007-08-27, Lee Schermerhorn <Lee.Schermerhorn@hp.com>
23 .\"     more precise specification of behavior.
24 .\"
25 .\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI
26 .\"         all rights reserved.
27 .\" Translated 2006-08-14, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.39
28 .\" Updated 2008-02-13, Akihiro MOTOKI, LDP v2.77
29 .\" Updated 2008-08-06, Akihiro MOTOKI, LDP v3.05
30 .\" Updated 2008-08-21, Akihiro MOTOKI, LDP v3.07
31 .\" Updated 2008-11-19, Akihiro MOTOKI, LDP v3.13
32 .\"
33 .TH GET_MEMPOLICY 2 2008-08-15 Linux "Linux Programmer's Manual"
34 .\"O .SH NAME
35 .SH Ì¾Á°
36 .\"O get_mempolicy \- Retrieve NUMA memory policy for a process
37 get_mempolicy \- ¥×¥í¥»¥¹¤Î NUMA ¥á¥â¥ê¤Î¥Ý¥ê¥·¡¼¤ò¼èÆÀ¤¹¤ë
38 .\"O .SH SYNOPSIS
39 .SH ½ñ¼°
40 .nf
41 .B "#include <numaif.h>"
42 .sp
43 .BI "int get_mempolicy(int *" mode ", unsigned long *" nodemask ,
44 .BI "                  unsigned long " maxnode ", unsigned long " addr ,
45 .BI "                  unsigned long " flags );
46 .sp
47 .\"O Link with \fI\-lnuma\fP.
48 \fI\-lnuma\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
49 .fi
50 .\"O .SH DESCRIPTION
51 .SH ÀâÌÀ
52 .\"O .BR get_mempolicy ()
53 .\"O retrieves the NUMA policy of the calling process or of a memory address,
54 .\"O depending on the setting of
55 .\"O .IR flags .
56 .BR get_mempolicy ()
57 ¤Ï¡¢¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤â¤·¤¯¤Ï»ØÄꤵ¤ì¤¿¥á¥â¥ê¥¢¥É¥ì¥¹¤Î
58 NUMA ¥Ý¥ê¥·¡¼¤ò
59 .I flags
60 ¤ÎÀßÄê¤Ë½¾¤Ã¤Æ¼èÆÀ¤¹¤ë¡£
61
62 .\"O A NUMA machine has different
63 .\"O memory controllers with different distances to specific CPUs.
64 .\"O The memory policy defines from which node memory is allocated for
65 .\"O the process.
66 NUMA (ÈóÂоΥá¥â¥ê¥¢¥¯¥»¥¹) ¥Þ¥·¥ó¤Ç¤Ï¡¢CPU ¤Ë¤è¤ê
67 ¥á¥â¥ê¥³¥ó¥È¥í¡¼¥é¤¬°Û¤Ê¤ê¡¢µ÷Î¥¤â°Û¤Ê¤Ã¤Æ¤¤¤ë¡£
68 ¥á¥â¥ê¥Ý¥ê¥·¡¼¤Ï¡¢¤É¤Î¥Î¡¼¥É¤«¤é¥á¥â¥ê¤ò¤½¤Î¥×¥í¥»¥¹¤Ë
69 ³ä¤êÅö¤Æ¤ë¤«¤òÄê¤á¤ë¤â¤Î¤Ç¤¢¤ë¡£
70
71 .\"O If
72 .\"O .I flags
73 .\"O is specified as 0,
74 .\"O then information about the calling process's default policy
75 .\"O (as set by
76 .\"O .BR set_mempolicy (2))
77 .\"O is returned.
78 .I flags
79 ¤Ë 0 ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
80 .RB ( set_mempolicy (2)
81 ¤ÇÀßÄꤵ¤ì¤¿)
82 ¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤Î¥Ç¥Õ¥©¥ë¥È¥Ý¥ê¥·¡¼¤Ë´Ø¤¹¤ë¾ðÊó¤òÊÖ¤¹¡£
83 .\"O The policy returned
84 .\"O .RI [ mode
85 .\"O and
86 .\"O .IR nodemask ]
87 .\"O may be used to restore the process's policy to its state at
88 .\"O the time of the call to
89 .\"O .BR get_mempolicy ()
90 .\"O using
91 .\"O .BR set_mempolicy (2).
92 ÊÖ¤µ¤ì¤¿¥Ý¥ê¥·¡¼
93 .RI [ mode
94 ¤È
95 .IR nodemask ]
96 ¤ò
97 .BR set_mempolicy (2)
98 ¤ËÅϤ¹¤³¤È¤Ç¡¢¤½¤Î¥×¥í¥»¥¹¤Î¥Ý¥ê¥·¡¼¤ò
99 .BR get_mempolicy ()
100 ¤ò¸Æ¤Ó½Ð¤·¤¿»þÅÀ¤Î¾õÂÖ¤ËÌ᤹¤³¤È¤¬¤Ç¤­¤ë¡£
101
102 .\"O If
103 .\"O .I flags
104 .\"O specifies
105 .\"O .BR MPOL_F_MEMS_ALLOWED
106 .\"O (available since Linux 2.6.24), the
107 .\"O .I mode
108 .\"O argument is ignored and the set of nodes [memories] that the
109 .\"O process is allowed to specify in subsequent calls to
110 .\"O .BR mbind (2)
111 .\"O or
112 .\"O .BR set_mempolicy (2)
113 .\"O [in the absense of any
114 .\"O .IR "mode flags" ]
115 .\"O is returned in
116 .\"O .IR nodemask .
117 .\"O It is not permitted to combine
118 .\"O .B MPOL_F_MEMS_ALLOWED
119 .\"O with either
120 .\"O .B MPOL_F_ADDR
121 .\"O or
122 .\"O .BR MPOL_F_NODE .
123 .I flags
124 ¤Ë
125 .B MPOL_F_MEMS_ALLOWED
126 (Linux 2.6.24 °Ê¹ß¤ÇÍøÍѲÄǽ) ¤ò»ØÄꤹ¤ë¤È¡¢
127 .I mode
128 °ú¤­¿ô¤Ï̵»ë¤µ¤ì¡¢
129 ¤½¤Î¥×¥í¥»¥¹¤¬¤½¤Î¸å¤Î
130 .BR mbind (2)
131 ¤ä
132 .BR set_mempolicy (2)
133 ¤Ç
134 .RI [ "¥â¡¼¥É¥Õ¥é¥°"
135 ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë ] »ØÄê¤Ç¤­¤ë¥Î¡¼¥É (¥á¥â¥ê) ¤Î½¸¹ç¤¬
136 .I nodemask
137 ¤ËÊÖ¤µ¤ì¤ë¡£
138 .B MPOL_F_MEMS_ALLOWED
139 ¤ò¡¢
140 .B MPOL_F_ADDR
141 ¤ä
142 .B MPOL_F_NODE
143 ¤ÈƱ»þ¤Ë»ØÄꤹ¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¡£
144
145 .\"O If
146 .\"O .I flags
147 .\"O specifies
148 .\"O .BR MPOL_F_ADDR ,
149 .\"O then information is returned about the policy governing the memory
150 .\"O address given in
151 .\"O .IR addr .
152 .\"O This policy may be different from the process's default policy if
153 .\"O .BR mbind (2)
154 .\"O or one of the helper functions described in
155 .\"O .BR numa (3)
156 .\"O has been used to establish a policy for the memory range containing
157 .\"O .IR addr .
158 .I flags
159 ¤Ë
160 .B MPOL_F_ADDR
161 ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
162 .I addr
163 ¤Ç»ØÄꤵ¤ì¤¿¥á¥â¥ê¥¢¥É¥ì¥¹¤ËŬÍѤµ¤ì¤Æ¤¤¤ë¥Ý¥ê¥·¡¼¤Ë´Ø¤¹¤ë¾ðÊó¤òÊÖ¤¹¡£
164 .BR mbind (2)
165 ¤ä
166 .BR numa (3)
167 ¤ÇÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¥Ø¥ë¥Ñ¡¼´Ø¿ô¤ò»È¤Ã¤Æ¡¢
168 .I addr
169 ¤ò´Þ¤à¥á¥â¥êÎΰè¤ËÂФ¹¤ë¥Ý¥ê¥·¡¼¤¬ÀßÄꤵ¤ì¤Æ¤¤¤¿¾ì¹ç¤Ë¤Ï¡¢
170 ÊÖ¤µ¤ì¤ë¥Ý¥ê¥·¡¼¤Ï¥×¥í¥»¥¹¤Î¥Ç¥Õ¥©¥ë¥È¥Ý¥ê¥·¡¼¤È°ã¤¦¤³¤È¤¬¤¢¤ë¡£
171
172 .\"O If the
173 .\"O .I mode
174 .\"O argument is not NULL, then
175 .\"O .BR get_mempolicy ()
176 .\"O will store the policy mode and any optional
177 .\"O .I "mode flags"
178 .\"O of the requested NUMA policy in the location pointed to by this argument.
179 .I mode
180 °ú¤­¿ô¤¬ NULL ¤Ç¤Ê¤¤¾ì¹ç¡¢
181 .BR get_mempolicy ()
182 ¤ÏÍ׵ᤵ¤ì¤¿ NUMA ¥Ý¥ê¥·¡¼¤Î¥â¡¼¥É¤ÈÄɲäÎ
183 .I "¥â¡¼¥É¥Õ¥é¥°"
184 ¤ò
185 .I mode
186 ¤¬»Ø¤¹¾ì½ê¤Ë³ÊǼ¤¹¤ë¡£
187 .\"O If
188 .\"O .I nodemask
189 .\"O is not NULL, then the nodemask associated with the policy will be stored
190 .\"O in the location pointed to by this argument.
191 .\"O .I maxnode
192 .\"O specifies the number of node IDs
193 .\"O that can be stored into
194 .\"O .IR nodemask \(emthat
195 .\"O is, the maximum node ID plus one.
196 .\"O The value specified by
197 .\"O .I maxnode
198 .\"O is always rounded to a multiple of
199 .\"O .IR "sizeof(unsigned long)" .
200 .I nodemask
201 ¤¬ NULL °Ê³°¤Î¾ì¹ç¡¢¤½¤Î¥Ý¥ê¥·¡¼¤ËÂбþ¤¹¤ë¥Î¡¼¥É¥Þ¥¹¥¯¤ò
202 ¤³¤Î°ú¤­¿ô¤¬»Ø¤¹¾ì½ê¤Ë³ÊǼ¤¹¤ë¡£
203 .I maxnode
204 ¤Ë¤Ï
205 .I nodemask
206 ¤Ë³ÊǼ¤Ç¤­¤ë¥Î¡¼¥É ID ¤Î¿ô¡¢¤Ä¤Þ¤êºÇÂç¥Î¡¼¥É ID ¤Ë 1 ¤ò­¤·¤¿Ãͤò»ØÄꤹ¤ë¡£
207 .I maxnode
208 ¤Ç»ØÄꤵ¤ì¤¿ÃͤϾï¤Ë
209 .I sizeof(unsigned long)
210 ¤ÎÇÜ¿ô¤ËÀÚ¤ê¾å¤²¤é¤ì¤ë¡£
211
212 .\"O If
213 .\"O .I flags
214 .\"O specifies both
215 .\"O .B MPOL_F_NODE
216 .\"O and
217 .\"O .BR MPOL_F_ADDR ,
218 .\"O .BR get_mempolicy ()
219 .\"O will return the node ID of the node on which the address
220 .\"O .I addr
221 .\"O is allocated into the location pointed to by
222 .\"O .IR mode .
223 .\"O If no page has yet been allocated for the specified address,
224 .\"O .BR get_mempolicy ()
225 .\"O will allocate a page as if the process had performed a read
226 .\"O [load] access to that address, and return the ID of the node
227 .\"O where that page was allocated.
228 .I flags
229 ¤Ç
230 .B MPOL_F_NODE
231 ¤È
232 .B MPOL_F_ADDR
233 ¤ÎξÊý¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
234 .BR get_mempolicy ()
235 ¤Ï¥¢¥É¥ì¥¹
236 .I addr
237 ¤¬³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥Î¡¼¥É¤Î¥Î¡¼¥É ID ¤ò
238 .I mode
239 ¤¬»Ø¤¹¾ì½ê¤ËÆþ¤ì¤ÆÊÖ¤¹¡£
240 »ØÄꤵ¤ì¤¿¥¢¥É¥ì¥¹¤Ë¤É¤Î¥Ú¡¼¥¸¤â¤Þ¤À³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
241 .BR get_mempolicy ()
242 ¤Ï¡¢¤¢¤¿¤«¤â¤½¤Î¥×¥í¥»¥¹¤¬¤½¤Î¥¢¥É¥ì¥¹¤ËÂФ·¤ÆÆɤ߹þ¤ß¥¢¥¯¥»¥¹¤ò
243 ¼Â¹Ô¤·¤¿¤«¤Î¤è¤¦¤Ë¥Ú¡¼¥¸¤Î³ä¤êÅö¤Æ¤ò¹Ô¤¤¡¢¥Ú¡¼¥¸¤¬³ä¤êÅö¤Æ¤é¤ì¤¿
244 ¥Î¡¼¥É¤Î ID ¤òÊÖ¤¹¡£
245
246 .\"O If
247 .\"O .I flags
248 .\"O specifies
249 .\"O .BR MPOL_F_NODE ,
250 .\"O but not
251 .\"O .BR MPOL_F_ADDR ,
252 .\"O and the process's current policy is
253 .\"O .BR MPOL_INTERLEAVE ,
254 .\"O then
255 .\"O .BR get_mempolicy ()
256 .\"O will return in the location pointed to by a non-NULL
257 .\"O .I mode
258 .\"O argument,
259 .\"O the node ID of the next node that will be used for
260 .\"O interleaving of internal kernel pages allocated on behalf of the process.
261 .I flags
262 ¤Ç
263 .B MPOL_F_NODE
264 ¤Ï»ØÄꤵ¤ì¤¿¤¬¡¢
265 .B MPOL_F_ADDR
266 ¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¡¢¤«¤Ä
267 ¤½¤Î¥×¥í¥»¥¹¤Î¸½ºß¤Î¥Ý¥ê¥·¡¼¤¬
268 .B MPOL_INTERLEAVE
269 ¤Î¾ì¹ç¡¢
270 .BR get_mempolicy ()
271 ¤Ï¡¢¤½¤Î¥×¥í¥»¥¹¤ËÂФ·¤Æ³ä¤êÅö¤Æ¤é¤ì¤¿¥«¡¼¥Í¥ë¤ÎÆâÉô¥Ú¡¼¥¸¤Ç
272 ¼¡¤Ë¥¤¥ó¥¿¡¼¥ê¡¼¥ÖÍѤ˻ÈÍѤµ¤ì¤ë¥Î¡¼¥É¤Î¥Î¡¼¥É ID ¤ò¡¢
273 NULL ¤Ç¤Ê¤¤
274 .I mode
275 °ú¤­¿ô¤¬»Ø¤¹¾ì½ê¤ËÆþ¤ì¤ÆÊÖ¤¹¡£
276 .\" Note:  code returns next interleave node via 'mode' argument -Lee Schermerhorn
277 .\"O These allocations include pages for memory mapped files in
278 .\"O process memory ranges mapped using the
279 .\"O .BR mmap (2)
280 .\"O call with the
281 .\"O .B MAP_PRIVATE
282 .\"O flag for read accesses, and in memory ranges mapped with the
283 .\"O .B MAP_SHARED
284 .\"O flag for all accesses.
285 Æɤ߹þ¤ß¥¢¥¯¥»¥¹ÍѤȤ·¤Æ
286 .B MAP_PRIVATE
287 ¥Õ¥é¥°ÉÕ¤­¤Ç
288 .BR mmap (2)
289 ¤·¤¿¥×¥í¥»¥¹¥á¥â¥êÎΰè¤ä¡¢
290 Ǥ°Õ¤Î¥¢¥¯¥»¥¹ÍѤȤ·¤Æ
291 .B MAP_SHARED
292 ¥Õ¥é¥°ÉÕ¤­¤Ç
293 .BR mmap (2)
294 ¤·¤¿¥á¥â¥êÎΰè¤Î¡¢¥á¥â¥ê¥Þ¥Ã¥×¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤ËÂФ¹¤ë¥Ú¡¼¥¸¤â
295 ¾åµ­¤Î¥×¥í¥»¥¹¤ËÂФ·¤Æ³ä¤êÅö¤Æ¤é¤ì¤¿¥Ú¡¼¥¸¤Ë´Þ¤Þ¤ì¤ë¡£
296
297 .\"O Other flag values are reserved.
298 ¾¤Î¥Õ¥é¥°¤ÏͽÌ󤵤ì¤Æ¤¤¤ë¡£
299
300 .\"O For an overview of the possible policies see
301 .\"O .BR set_mempolicy (2).
302 ÀßÄê²Äǽ¤Ê¥Ý¥ê¥·¡¼¤Î³µÍפˤĤ¤¤Æ¤Ï
303 .BR set_mempolicy (2)
304 ¤ò»²¾È¡£
305 .\"O .SH RETURN VALUE
306 .SH ÊÖ¤êÃÍ
307 .\"O On success,
308 .\"O .BR get_mempolicy ()
309 .\"O returns 0;
310 .\"O on error, \-1 is returned and
311 .\"O .I errno
312 .\"O is set to indicate the error.
313 À®¸ù¤¹¤ë¤È¡¢
314 .BR get_mempolicy ()
315 ¤Ï 0 ¤òÊÖ¤¹¡£¥¨¥é¡¼¤Î¾ì¹ç¡¢\-1 ¤òÊÖ¤·¡¢
316 .I errno
317 ¤Ë¥¨¥é¡¼¤ò¼¨¤¹ÃͤòÀßÄꤹ¤ë¡£
318 .\"O .SH ERRORS
319 .SH ¥¨¥é¡¼
320 .TP
321 .B EFAULT
322 .\"O Part of all of the memory range specified by
323 .\"O .I nodemask
324 .\"O and
325 .\"O .I maxnode
326 .\"O points outside your accessible address space.
327 .\"motoki: Part of all of the memory ¤Ï Part or all .. ¤Î´Ö°ã¤¤¡©
328 .I nodemask
329 ¤È
330 .I maxnode
331 ¤Ç»ØÄꤵ¤ì¤¿¥á¥â¥êÎΰè¤Î°ìÉô¤Þ¤¿¤ÏÁ´Éô¤¬¡¢
332 ¸Æ¤Ó½Ð¤·¸µ¤¬¥¢¥¯¥»¥¹²Äǽ¤Ê¥¢¥É¥ì¥¹¶õ´Ö³°¤ò»Ø¤·¤Æ¤¤¤ë¡£
333 .TP
334 .B EINVAL
335 .\"O The value specified by
336 .\"O .I maxnode
337 .\"O is less than the number of node IDs supported by the system.
338 .I maxnode
339 ¤Ç»ØÄꤵ¤ì¤¿Ãͤ¬¥·¥¹¥Æ¥à¤¬¥µ¥Ý¡¼¥È¤¹¤ë¥Î¡¼¥É ID ¤Î¿ô¤è¤ê¤â¾¯¤Ê¤¤¡£
340 .\"O Or
341 .\"O .I flags
342 .\"O specified values other than
343 .\"O .B MPOL_F_NODE
344 .\"O or
345 .\"O .BR MPOL_F_ADDR ;
346 ¤Þ¤¿¤Ï¡¢
347 .I flags
348 ¤Ë
349 .B MPOL_F_NODE
350 ¤Ç¤â
351 .B MPOL_F_ADDR
352 ¤Ç¤â¤Ê¤¤Ãͤ¬»ØÄꤵ¤ì¤¿¡£
353 .\"O or
354 .\"O .I flags
355 .\"O specified
356 .\"O .B MPOL_F_ADDR
357 .\"O and
358 .\"O .I addr
359 .\"O is NULL,
360 ¤Þ¤¿¤Ï¡¢
361 .I flags
362 ¤Ë
363 .B MPOL_F_ADDR
364 ¤¬»ØÄꤵ¤ì¤Æ¤ª¤ê¡¢
365 .I addr
366 ¤¬ NULL ¤Ç¤¢¤ë¡£
367 .\"O or
368 .\"O .I flags
369 .\"O did not specify
370 .\"O .B MPOL_F_ADDR
371 .\"O and
372 .\"O .I addr
373 .\"O is not NULL.
374 ¤Þ¤¿¤Ï¡¢
375 .I flags
376 ¤Ë
377 .B MPOL_F_ADDR
378 ¤¬¤µ¤ì¤Æ¤ª¤é¤º¡¢
379 .I addr
380 ¤¬ NULL ¤Ç¤Ê¤¤¡£
381 .\"O Or,
382 .\"O .I flags
383 .\"O specified
384 .\"O .B MPOL_F_NODE
385 .\"O but not
386 .\"O .B MPOL_F_ADDR
387 .\"O and the current process policy is not
388 .\"O .BR MPOL_INTERLEAVE .
389 ¤Þ¤¿¤Ï¡¢
390 .I flags
391 ¤Ë
392 .B MPOL_F_NODE
393 ¤¬»ØÄꤵ¤ì¤Æ¤ª¤ê¡¢
394 .B MPOL_F_ADDR
395 ¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢
396 ¥×¥í¥»¥¹¤Î¸½ºß¤Î¥Ý¥ê¥·¡¼¤¬
397 .B MPOL_INTERLEAVE
398 ¤Ç¤Ê¤¤¡£
399 .\"O Or,
400 .\"O .I flags
401 .\"O specified
402 .\"O .B MPOL_F_MEMS_ALLOWED
403 .\"O with either
404 .\"O .B MPOL_F_ADDR
405 .\"O or
406 .\"O .BR MPOL_F_NODE .
407 ¤Þ¤¿¤Ï¡¢
408 .I flags
409 ¤Ë
410 .B MPOL_F_MEMS_ALLOWED
411 ¤¬»ØÄꤵ¤ì¤Æ¤ª¤ê¡¢¤µ¤é¤Ë
412 .B MPOL_F_ADDR
413 ¤«
414 .B MPOL_F_NODE
415 ¤Î¤¤¤º¤ì¤«¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¡£
416 .\"O (And there are other
417 .\"O .B EINVAL
418 .\"O cases.)
419 (¾¤Ë¤â
420 .B EINVAL
421 ¤È¤Ê¤ë¾ì¹ç¤¬¤¢¤ë¡£)
422 .\"O .SH VERSIONS
423 .SH ¥Ð¡¼¥¸¥ç¥ó
424 .\"O The
425 .\"O .BR get_mempolicy ()
426 .\"O system call was added to the Linux kernel in version 2.6.7.
427 .BR get_mempolicy ()
428 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ï¥Ð¡¼¥¸¥ç¥ó 2.6.7 ¤Ç Linux ¥«¡¼¥Í¥ë¤ËÄɲ䵤줿¡£
429 .\"O .SH CONFORMING TO
430 .SH ½àµò
431 .\"O This system call is Linux-specific.
432 ¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ï Linux ¸ÇÍ­¤Ç¤¢¤ë¡£
433 .\"O .SH NOTES
434 .SH Ãí°Õ
435 .\"O For information on library support, see
436 .\"O .BR numa (7).
437 ¥é¥¤¥Ö¥é¥ê¤Ë¤è¤ë¥µ¥Ý¡¼¥È¤Ë¤Ä¤¤¤Æ¤Ï
438 .BR numa (7)
439 ¤ò»²¾È¡£
440 .\"O .SH SEE ALSO
441 .SH ´ØÏ¢¹àÌÜ
442 .BR getcpu (2),
443 .BR mbind (2),
444 .BR mmap (2),
445 .BR set_mempolicy (2),
446 .BR numa (3),
447 .BR numa (7),
448 .BR numactl (8)