How Does Linux Calculate Kernel Shmall?

How Does Linux Calculate Kernel Shmall? silicon:~ # echo “1310720” > /proc/sys/kernel/shmall. silicon:~ # sysctl –p. Verify if the value has been taken into effect. kernel.shmall = 1310720. Another way to look this up is. silicon:~ # ipcs -lm. max number of segments = 4096 /* SHMMNI */ … max total shared memory (kbytes) =