Messages in this thread | ![/](/images/icornerl.gif) | | Date | Sun, 24 Aug 2003 02:48:41 -0700 | From | Andrew Morton <> | Subject | Re: Is it a bug (about share memory)? |
| |
"Zheng, Jeff" <jeff.zheng@intel.com> wrote: > > I tried to use share memory to check vm overcommit by check Committed_AS > in /proc/meminfo. It seems that attach of share momory will add the value > of Committed_AS but detach of share memory does not reduce the value of > Committed_AS.
shmdt() will not release resources. Run `ipcs' after your test app and you will see the shm segment is still there.
Release it with ipcrm and Committed_AS falls back as expected.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |