Description of Problem:
The Kernel at Version 7.1 do not load the shared memory enven if u make cat
"33554432" > /proc/sys/kernel/shmmax
use free comand to see if u have shared mem.
[email@example.com /root]# free
total used free shared buffers cached
Mem: 125704 123656 2048 0 2600 49808
-/+ buffers/cache: 71248 54456
Swap: 415792 576 415216
Steps to Reproduce:
2. cat "33554432" > /proc/sys/kernel/shmmax
1. U recive shared memory iqual to ZERO
2. U add 33554432 to the shared memory
3. U see how mutch mem u got .. and u still with ZERO shared mem.
at pass 3 to have 33554432 shered mem.
Thanks for the report.
"shared" has never been THIS kind of shared memory. It was the amount
of memory shared between programs due to reuse of code. (eg if you had 5 bash
programs, they would share the memory needed for the instructions to execute the
program). In 2.4, this has been stopped as accounting it was very expensive.
VERY recently, someone else came to the idea that shared memory as you mean it,
would be great to have accounted here and future kernels from us will actually
I'll mark this bug as "deferred" as we will get it fixed, just not today ;)