JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ges , const int * nodes , int * status , int flags ); -lnuma とリンクする。 説明 move_pages () は、プロセス pid の指定されたページ pages を nodes で指定されたメモリーノードに移動する。 移動の結果は status に反映され ... る。 flags では移動されるページに関する制約を指定する。 pid is the ID of the process in which pages are to be moved. If pid is 0, then move_pages () moves pages of the calling process. To move pages in another process requ ... ODE_READ_REALCREDS check with respect to the target process; see ptrace (2). count は移動するページ数である。 count により pages , nodes , status の 3 つの配列の大きさが定義される。 pages は、移動すべきページへのポインターの配列であり、 各ポインターは ... ... int remap_file_pages(void * addr , size_t size , int prot , size_t pgoff , int flags ); 説明 Note : this system call was marked as deprecated s ... t had some use cases in database applications on 32-bit systems, those use cases don't exist on 64-bit systems. remap_file_pages () システムコールは非線形なマッピング、 つまりファイルのページがメモリー上で連続しない順番でマップされる マッピングを作成す ... るために使われる。 remap_file_pages () を使う方が mmap (2) を繰り返して使うより優れている点は、 前者の方法ではカーネルが VMA (Virtual Memory Area, 仮想メモリー ... ... writing man pages for the Linux man-pages project, which documents the user-space API provided by the Linux kernel and the GNU C library. Th ... e project thus provides most of the pages in Section 2, many of the pages that appear in Sections 3, 4, and 7, and a few of the pages that appear in Sections 1, 5, ... and 8 of the man pages on a Linux system. The conventions described on this page may also be useful for authors writing man pages for other proje ... ... st unsigned long * old_nodes, const unsigned long * new_nodes ); -lnuma とリンクする。 説明 MIGRATE_PAGES () は、メモリーノード old_nodes にあるプロセス pid の全ページを、メモリーノード new_nodes に移動しようとする。 old_nodes で ... がページ移動の対象プロセスの実ユーザー ID か saved-set ユーザー ID と一致していなければならない。 pid が 0 の場合、 migrate_pages () は呼び出したプロセスのページを移動する。 別のプロセスと共有しているページは、呼び出したプロセスが CAP_SYS_NICE 特権を持 ... っている場合にのみ移動される。 返り値 migrate_pages () は、移動できなかったページ数を返す (つまり、移動に成功した場合は返り値は 0 となる)。 エラーの場合、 -1 を返し、 errno に ... ... システムコール Linux カーネルには、次に示す NUMA 関連のシステムコールが実装されている: get_mempolicy (2), mbind (2), migrate_pages (2), move_pages (2), set_mempolicy (2). ただし、アプリケーションは通常は libnuma が提供するインターフェース を使用すべきで ... い場合もある。 行の残りの部分には、そのメモリー領域に割り当てられたページに関する情報が入る。以下に詳細を示す。 N<node>=<nr_pages> <node> に割り当てられているページ数。 <nr_pages> には、 そのプロセスが現在マッピングしているページだけが含まれる。 ページ ... ー範囲。 huge ヒュージメモリーの範囲。表示されるページ数は、 通常の大きさのページではなく、ヒュージページの数である。 anon=<pages> メモリー範囲内の無名ページ (anonymous page) の数。 dirty=<pages> dirty (変更された) ページの数。 mapped=<pages> マッピング ... ... と 呼ばれる。全ての主要な Linux ディストリビューションで現在使われている C ライブラリである。 この C ライブラリの詳細が man-pages プロジェクトの一連のページ (主にマニュアルのセクション 3) に記載されている。 glibc のドキュメントは glibc のマニュアルにも ... and later used the shared library soname libc.so.6 . Since the switch from Linux libc to glibc 2.0 occurred long ago, man-pages no longer takes care to document Linux libc details. Nevertheless, the history is visible in vestiges of information about ... Linux libc that remain in a few manual pages, in particular, references to libc4 and libc5 . 他の C ライブラリ あまり広くは使われていないが、Linux 用の他の C ライブラリ ... ... と 呼ばれる。全ての主要な Linux ディストリビューションで現在使われている C ライブラリである。 この C ライブラリの詳細が man-pages プロジェクトの一連のページ (主にマニュアルのセクション 3) に記載されている。 glibc のドキュメントは glibc のマニュアルにも ... and later used the shared library soname libc.so.6 . Since the switch from Linux libc to glibc 2.0 occurred long ago, man-pages no longer takes care to document Linux libc details. Nevertheless, the history is visible in vestiges of information about ... Linux libc that remain in a few manual pages, in particular, references to libc4 and libc5 . 他の C ライブラリ あまり広くは使われていないが、Linux 用の他の C ライブラリ ... ... り続けることが保証される。 これらのページは後でロック解除されるまで RAM に残り続けることが保証される。 mlock2 () also locks pages in the specified range starting at addr and continuing for len bytes. However, the state of the pages contained in that ra ... epend on the value in the flags argument. The flags argument can be either 0 or the following constant: MLOCK_ONFAULT Lock pages that are currently resident and mark the entire range so that the remaining nonresident pages are locked when they are pop ... ith MCL_CURRENT , MCL_FUTURE , or both. Mark all current (with MCL_CURRENT ) or future (with MCL_FUTURE ) mappings to lock pages when they are faulted in. When used with MCL_CURRENT , all present pages are locked, but mlockall () will not fault in non ... ... り続けることが保証される。 これらのページは後でロック解除されるまで RAM に残り続けることが保証される。 mlock2 () also locks pages in the specified range starting at addr and continuing for len bytes. However, the state of the pages contained in that ra ... epend on the value in the flags argument. The flags argument can be either 0 or the following constant: MLOCK_ONFAULT Lock pages that are currently resident and mark the entire range so that the remaining nonresident pages are locked when they are pop ... ith MCL_CURRENT , MCL_FUTURE , or both. Mark all current (with MCL_CURRENT ) or future (with MCL_FUTURE ) mappings to lock pages when they are faulted in. When used with MCL_CURRENT , all present pages are locked, but mlockall () will not fault in non ... ... り続けることが保証される。 これらのページは後でロック解除されるまで RAM に残り続けることが保証される。 mlock2 () also locks pages in the specified range starting at addr and continuing for len bytes. However, the state of the pages contained in that ra ... epend on the value in the flags argument. The flags argument can be either 0 or the following constant: MLOCK_ONFAULT Lock pages that are currently resident and mark the entire range so that the remaining nonresident pages are locked when they are pop ... ith MCL_CURRENT , MCL_FUTURE , or both. Mark all current (with MCL_CURRENT ) or future (with MCL_FUTURE ) mappings to lock pages when they are faulted in. When used with MCL_CURRENT , all present pages are locked, but mlockall () will not fault in non ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。