Re: phk malloc, was (Re: ptmalloc2)
On Sat, 26 Feb 2005 14:27:13 -0500
Gary Thorpe <gathorpe79@yahoo.com> wrote:
> And the point we keep coming back to is that it is impossible for an
> application to accurately self regulate its resource usage (unless you
> mean allowing command line flags to specify how much memory to use
> [why not just set rlimits instead]) since it does not receive
> accurate feedback from the kernel when over commit is allowed.
man mlock(1):
[EAGAIN] Locking the indicated range would exceed either the
system or per-process limit for locked memory.
Is that not accurate feedback?
-Chris
討論串 (同標題文章)
完整討論串 (本文為第 48 之 57 篇):