Re: phk malloc, was (Re: ptmalloc2)

看板DFBSD_kernel作者時間21年前 (2005/02/27 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串48/57 (看更多)
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
文章代碼(AID): #128Gt700 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #128Gt700 (DFBSD_kernel)