OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man2 / migrate_pages.2
index 3cb1499..c0e3929 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,16 +29,16 @@ 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 で
-指定されたメモリノードに置かれていないページは移動されない。
-カーネルは、 \fInew_nodes\fP への移動の際に、 \fIold_nodes\fP 内の相対的な
-トポロジー関係を可能な限り維持しようとする。
+\fBmigrate_pages\fP()  attempts to move all pages of the process \fIpid\fP that
+are in memory nodes \fIold_nodes\fP to the memory nodes in \fInew_nodes\fP.  Pages
+not located in any node in \fIold_nodes\fP will not be migrated.  As far as
+possible, the kernel maintains the relative topology relationship inside
+\fIold_nodes\fP during the migration to \fInew_nodes\fP.
 
 引き数 \fIold_nodes\fP と \fInew_nodes\fP は、最大で \fImaxnode\fP ビットから
 構成されるノード番号のビットマスクへのポインタである。
@@ -56,8 +57,9 @@ migrate_pages \- プロセスの全ページを別のノード集合に移動す
 別のプロセスと共有しているページは、呼び出したプロセスが
 \fBCAP_SYS_NICE\fP 特権を持っている場合にのみ移動される。
 .SH 返り値
-\fBmigrate_pages\fP() は成功すると 0 を返す。
-エラーの場合、 \-1 を返し、 \fIerrno\fP にエラーを示す値を設定する。
+On success \fBmigrate_pages\fP()  returns the number of pages that could not be
+moved (i.e., a return of zero means that all pages were successfully
+moved).  On error, it returns \-1, and sets \fIerrno\fP to indicate the error.
 .SH エラー
 .TP 
 \fBEPERM\fP
@@ -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。
+\fBnuma_stat\fP(8)
+
+\fIDocumentation/vm/page_migration\fP in the Linux kernel source tree
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。