diff options
Diffstat (limited to 'Documentation/sysctl/kernel.txt')
| -rw-r--r-- | Documentation/sysctl/kernel.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt index 2907ba6c3607..ccd42589e124 100644 --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt | |||
| @@ -38,6 +38,7 @@ show up in /proc/sys/kernel: | |||
| 38 | - l2cr [ PPC only ] | 38 | - l2cr [ PPC only ] |
| 39 | - modprobe ==> Documentation/debugging-modules.txt | 39 | - modprobe ==> Documentation/debugging-modules.txt |
| 40 | - modules_disabled | 40 | - modules_disabled |
| 41 | - msg_next_id [ sysv ipc ] | ||
| 41 | - msgmax | 42 | - msgmax |
| 42 | - msgmnb | 43 | - msgmnb |
| 43 | - msgmni | 44 | - msgmni |
| @@ -62,7 +63,9 @@ show up in /proc/sys/kernel: | |||
| 62 | - rtsig-max | 63 | - rtsig-max |
| 63 | - rtsig-nr | 64 | - rtsig-nr |
| 64 | - sem | 65 | - sem |
| 66 | - sem_next_id [ sysv ipc ] | ||
| 65 | - sg-big-buff [ generic SCSI device (sg) ] | 67 | - sg-big-buff [ generic SCSI device (sg) ] |
| 68 | - shm_next_id [ sysv ipc ] | ||
| 66 | - shm_rmid_forced | 69 | - shm_rmid_forced |
| 67 | - shmall | 70 | - shmall |
| 68 | - shmmax [ sysv ipc ] | 71 | - shmmax [ sysv ipc ] |
| @@ -320,6 +323,22 @@ to false. | |||
| 320 | 323 | ||
| 321 | ============================================================== | 324 | ============================================================== |
| 322 | 325 | ||
| 326 | msg_next_id, sem_next_id, and shm_next_id: | ||
| 327 | |||
| 328 | These three toggles allows to specify desired id for next allocated IPC | ||
| 329 | object: message, semaphore or shared memory respectively. | ||
| 330 | |||
| 331 | By default they are equal to -1, which means generic allocation logic. | ||
| 332 | Possible values to set are in range {0..INT_MAX}. | ||
| 333 | |||
| 334 | Notes: | ||
| 335 | 1) kernel doesn't guarantee, that new object will have desired id. So, | ||
| 336 | it's up to userspace, how to handle an object with "wrong" id. | ||
| 337 | 2) Toggle with non-default value will be set back to -1 by kernel after | ||
| 338 | successful IPC object allocation. | ||
| 339 | |||
| 340 | ============================================================== | ||
| 341 | |||
| 323 | nmi_watchdog: | 342 | nmi_watchdog: |
| 324 | 343 | ||
| 325 | Enables/Disables the NMI watchdog on x86 systems. When the value is | 344 | Enables/Disables the NMI watchdog on x86 systems. When the value is |
| @@ -542,6 +561,19 @@ are doing anyway :) | |||
| 542 | 561 | ||
| 543 | ============================================================== | 562 | ============================================================== |
| 544 | 563 | ||
| 564 | shmall: | ||
| 565 | |||
| 566 | This parameter sets the total amount of shared memory pages that | ||
| 567 | can be used system wide. Hence, SHMALL should always be at least | ||
| 568 | ceil(shmmax/PAGE_SIZE). | ||
| 569 | |||
| 570 | If you are not sure what the default PAGE_SIZE is on your Linux | ||
| 571 | system, you can run the following command: | ||
| 572 | |||
| 573 | # getconf PAGE_SIZE | ||
| 574 | |||
| 575 | ============================================================== | ||
| 576 | |||
| 545 | shmmax: | 577 | shmmax: |
| 546 | 578 | ||
| 547 | This value can be used to query and set the run time limit | 579 | This value can be used to query and set the run time limit |
