The patch titled Subject: Documentation/sysctl/kernel.txt: document /proc/sys/shmall has been added to the -mm tree. Its filename is documentation-sysctl-kerneltxt-document-proc-sys-shmall.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Carlos Alberto Lopez Perez <clopez@xxxxxxxxxx> Subject: Documentation/sysctl/kernel.txt: document /proc/sys/shmall Signed-off-by: Carlos Alberto Lopez Perez <clopez@xxxxxxxxxx> Cc: Rob Landley <rob@xxxxxxxxxxx> Cc: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Cc: Neil Horman <nhorman@xxxxxxxxxxxxx> Cc: Mitsuo Hayasaka <mitsuo.hayasaka.hu@xxxxxxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/sysctl/kernel.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff -puN Documentation/sysctl/kernel.txt~documentation-sysctl-kerneltxt-document-proc-sys-shmall Documentation/sysctl/kernel.txt --- a/Documentation/sysctl/kernel.txt~documentation-sysctl-kerneltxt-document-proc-sys-shmall +++ a/Documentation/sysctl/kernel.txt @@ -561,6 +561,19 @@ are doing anyway :) ============================================================== +shmall: + +This parameter sets the total amount of shared memory pages that +can be used system wide. Hence, SHMALL should always be at least +ceil(shmmax/PAGE_SIZE). + +If you are not sure what the default PAGE_SIZE is on your Linux +system, you can run the following command: + +# getconf PAGE_SIZE + +============================================================== + shmmax: This value can be used to query and set the run time limit _ Patches currently in -mm which might be from clopez@xxxxxxxxxx are documentation-sysctl-kerneltxt-document-proc-sys-shmall.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html