JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ページサイズの倍数ではない。 ENOMEM 指定されたアドレス範囲がプロセスのアドレス空間にマップされたページと 一致しない。 ENOMEM Locking or unlocking a region would result in the total number of mappings with distinct attributes (e.g., locked versus unlocked) ... exceeding the allowed maximum. (For example, unlocking a range in the middle of a currently locked mapping would result in three mappings: two locked mappings at each end and an ... MCL_FUTURE call will be lost. The mlock2 () MLOCK_ONFAULT flag and the mlockall () MCL_ONFAULT flag allow efficient memory locking for applications that deal with large mappings where only a (small) portion of pages in the mapping are touched. In such c ... ... ページサイズの倍数ではない。 ENOMEM 指定されたアドレス範囲がプロセスのアドレス空間にマップされたページと 一致しない。 ENOMEM Locking or unlocking a region would result in the total number of mappings with distinct attributes (e.g., locked versus unlocked) ... exceeding the allowed maximum. (For example, unlocking a range in the middle of a currently locked mapping would result in three mappings: two locked mappings at each end and an ... MCL_FUTURE call will be lost. The mlock2 () MLOCK_ONFAULT flag and the mlockall () MCL_ONFAULT flag allow efficient memory locking for applications that deal with large mappings where only a (small) portion of pages in the mapping are touched. In such c ... ... ページサイズの倍数ではない。 ENOMEM 指定されたアドレス範囲がプロセスのアドレス空間にマップされたページと 一致しない。 ENOMEM Locking or unlocking a region would result in the total number of mappings with distinct attributes (e.g., locked versus unlocked) ... exceeding the allowed maximum. (For example, unlocking a range in the middle of a currently locked mapping would result in three mappings: two locked mappings at each end and an ... MCL_FUTURE call will be lost. The mlock2 () MLOCK_ONFAULT flag and the mlockall () MCL_ONFAULT flag allow efficient memory locking for applications that deal with large mappings where only a (small) portion of pages in the mapping are touched. In such c ... ... ページサイズの倍数ではない。 ENOMEM 指定されたアドレス範囲がプロセスのアドレス空間にマップされたページと 一致しない。 ENOMEM Locking or unlocking a region would result in the total number of mappings with distinct attributes (e.g., locked versus unlocked) ... exceeding the allowed maximum. (For example, unlocking a range in the middle of a currently locked mapping would result in three mappings: two locked mappings at each end and an ... MCL_FUTURE call will be lost. The mlock2 () MLOCK_ONFAULT flag and the mlockall () MCL_ONFAULT flag allow efficient memory locking for applications that deal with large mappings where only a (small) portion of pages in the mapping are touched. In such c ... ... ページサイズの倍数ではない。 ENOMEM 指定されたアドレス範囲がプロセスのアドレス空間にマップされたページと 一致しない。 ENOMEM Locking or unlocking a region would result in the total number of mappings with distinct attributes (e.g., locked versus unlocked) ... exceeding the allowed maximum. (For example, unlocking a range in the middle of a currently locked mapping would result in three mappings: two locked mappings at each end and an ... MCL_FUTURE call will be lost. The mlock2 () MLOCK_ONFAULT flag and the mlockall () MCL_ONFAULT flag allow efficient memory locking for applications that deal with large mappings where only a (small) portion of pages in the mapping are touched. In such c ... ... / off_t l_start; /* Starting offset for lock */ off_t l_len; /* Number of bytes to lock */ pid_t l_pid; /* PID of process blocking our lock (set by F_GETLK and F_OFD_GETLK) */ ... }; この構造体の l_whence , l_start , l_len フィールドで、ロックを行いたい ... クとは異なる点である。 プロセスと関連付けられるレコードロックではカーネルはデッドロックの検出を行う。) 強制ロック (mandatory locking) Warning : the Linux implementation of mandatory locking is unreliable. See BUGS below. Because of these bugs, and the fac ... t that the feature is believed to be little used, since Linux 4.5, mandatory locking has been made an optional feature, governed by a configuration option ( CONFIG_MANDATORY_FILE_LOCKING ). This is an initia ... ... / off_t l_start; /* Starting offset for lock */ off_t l_len; /* Number of bytes to lock */ pid_t l_pid; /* PID of process blocking our lock (set by F_GETLK and F_OFD_GETLK) */ ... }; この構造体の l_whence , l_start , l_len フィールドで、ロックを行いたい ... クとは異なる点である。 プロセスと関連付けられるレコードロックではカーネルはデッドロックの検出を行う。) 強制ロック (mandatory locking) Warning : the Linux implementation of mandatory locking is unreliable. See BUGS below. Because of these bugs, and the fac ... t that the feature is believed to be little used, since Linux 4.5, mandatory locking has been made an optional feature, governed by a configuration option ( CONFIG_MANDATORY_FILE_LOCKING ). This is an initia ... ... . 関連項目 fcntl (2), flock (2) Linux カーネルソースの Documentation/filesystems ディレクトリにある locks.txt と mandatory-locking.txt (以前のカーネルでは、これらのファイルは Documentation ディレクトリ直下にあり、 mandatory-locking.txt は mandatory.txt ... ... 定したロック種別と異なるロックが別プロセスによって 保持されていると、 flock () は停止 (block) されることがある。 非停止 (nonblocking) タイプの要求を行うためには、 上記の操作 (operation) に LOCK_NB を論理和の形で指定する。 一つのファイルに共有ロックと排他ロ ... ock files over NFS (i.e., the scope of locks was limited to the local system). Instead, one could use fcntl (2) byte-range locking, which does work over NFS, given a sufficiently recent version of Linux and a server which supports locking. Since Linux 2 ... ... このオプションは _POSIX_TIMERS オプションを暗黙の内に指定する。 関数 clock_getcpuclockid () が存在する。 --- - _POSIX_FILE_LOCKING - _SC_FILE_LOCKING このオプションは削除された。XPG6 最終版にはない。 FSC - _POSIX_FSYNC - _SC_FSYNC 関数 fsync () が存在す ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。