Re: phk malloc, was (Re: ptmalloc2)

看板DFBSD_kernel作者時間21年前 (2005/02/23 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串18/57 (看更多)
On Wed, 23 Feb 2005 00:10:40 -0500, Dan Melomedman <dan@a.mx.devonit.com> wrote: > It's only fragile because the OS doesn't guarantee preallocated memory. > That's all. Anyway, I've made the decision to only run software like > this on Linux. Linux actually has the system-wide overcommit switch through > 'sysctl'. I wish I could switch it on and off per process through an > environment variable instead. Oh well, can't have it all. Well that would be Messagewall's problem if it does that exactly what you say. It should not be killed or act funny if it gets errors in memory allocation but should gracefully regulate itself by releasing recently used address space. And it should log the errors it got with memory allocation with the OS, does it? -- Eduardo Tongson http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6033AC66 Key fingerprint : 0A86 79BA 3EC1 4B34 0D65 0E05 F9EC 98A2 6033 AC66
文章代碼(AID): #1271ma00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #1271ma00 (DFBSD_kernel)