OSDN Git Service

(split) LDP: Update releases based on LDP 3.52 release
[linuxjm/LDP_man-pages.git] / release / man2 / migrate_pages.2
index 3cb1499..e90e8f6 100644 (file)
@@ -1,11 +1,10 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright 2009 Intel Corporation
 .\"                Author: Andi Kleen
 .\" Based on the move_pages manpage which was
 .\" This manpage is Copyright (C) 2006 Silicon Graphics, Inc.
 .\"                               Christoph Lameter
 .\"
+.\" %%%LICENSE_START(VERBATIM_TWO_PARA)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
 .\" permission notice identical to this one.
+.\" %%%LICENSE_END
+.\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH MIGRATE_PAGES 2 2010\-11\-01 Linux "Linux Programmer's Manual"
+.TH MIGRATE_PAGES 2 2012\-08\-01 Linux "Linux Programmer's Manual"
 .SH 名前
 migrate_pages \- プロセスの全ページを別のノード集合に移動する
 .SH 書式
@@ -28,13 +29,13 @@ migrate_pages \- プロセスの全ページを別のノード集合に移動す
 .sp
 \fBlong migrate_pages(int \fP\fIpid\fP\fB, unsigned long \fP\fImaxnode,\fP
 \fB                   const unsigned long *\fP\fIold_nodes,\fP
-\fB                   const unsigned long *\fP\fInew_nodes);\fP
+\fB                   const unsigned long *\fP\fInew_nodes\fP\fB);\fP
 .fi
 .sp
 \fI\-lnuma\fP とリンクする。
 .SH 説明
 \fBMIGRATE_PAGES\fP() は、メモリノード \fIold_nodes\fP にあるプロセス \fIpid\fP
-の全ページを、メモリノード \fInew_nodes\fP に移動する。\fIold_nodes\fP で
\81®å\85¨ã\83\9aã\83¼ã\82¸ã\82\92ã\80\81ã\83¡ã\83¢ã\83ªã\83\8eã\83¼ã\83\89 \fInew_nodes\fP ã\81«ç§»å\8b\95ã\81\97ã\82\88ã\81\86ã\81¨ã\81\99ã\82\8bã\80\82\fIold_nodes\fP ã\81§
 指定されたメモリノードに置かれていないページは移動されない。
 カーネルは、 \fInew_nodes\fP への移動の際に、 \fIold_nodes\fP 内の相対的な
 トポロジー関係を可能な限り維持しようとする。
@@ -56,7 +57,8 @@ migrate_pages \- プロセスの全ページを別のノード集合に移動す
 別のプロセスと共有しているページは、呼び出したプロセスが
 \fBCAP_SYS_NICE\fP 特権を持っている場合にのみ移動される。
 .SH 返り値
-\fBmigrate_pages\fP() は成功すると 0 を返す。
+\fBmigrate_pages\fP() は、移動できなかったページ数を返す
+(つまり、移動に成功した場合は返り値は 0 となる)。
 エラーの場合、 \-1 を返し、 \fIerrno\fP にエラーを示す値を設定する。
 .SH エラー
 .TP 
@@ -92,10 +94,10 @@ migrate_pages \- プロセスの全ページを別のノード集合に移動す
 .SH 関連項目
 \fBget_mempolicy\fP(2), \fBmbind\fP(2), \fBset_mempolicy\fP(2), \fBnuma\fP(3),
 \fBnuma_maps\fP(5), \fBcpuset\fP(7), \fBnuma\fP(7), \fBmigratepages\fP(8),
-\fBnuma_stat\fP(8);
-.br
-カーネルのソースファイル \fIDocumentation/vm/page_migration\fP。
+\fBnumastat\fP(8)
+
+Linux カーネルソースの \fIDocumentation/vm/page_migration\fP
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。