Re: phk malloc, was (Re: ptmalloc2)

看板DFBSD_kernel作者時間21年前 (2005/02/23 03:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/57 (看更多)
This begs the question whether we could have a feature to disable overcommit on a sysadmins', or the software's demand. Doesn't it break a process that wants to preallocate _physical_ memory on start-up, and reuse it, without allocating any further memory to _guarantee_ it will not fail due to memory allocations over its lifetime? If the OS is lying to such software that it has acquired physical memory, but the OS will only try to allocate it when it _thinks_ the process needs it, this process will still fail if the physycal memory is unavailable at that time. Shame!
文章代碼(AID): #126u7700 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #126u7700 (DFBSD_kernel)