DragonFly BSD
DragonFly kernel List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: phk malloc, was (Re: ptmalloc2)

From: Eduardo Tongson <propolice@xxxxxxxxx>
Date: Wed, 23 Feb 2005 13:41:22 +0800

On Wed, 23 Feb 2005 00:10:40 -0500, Dan Melomedman <dan@xxxxxxxxxxxxxxxx> 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     
Key fingerprint : 0A86 79BA 3EC1 4B34 0D65  0E05 F9EC 98A2 6033 AC66

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]