Messages in this thread | | | Date | Sat, 25 Mar 2000 01:33:46 +0100 | From | Ragnar Kjørstad <> | Subject | Re: Endless overcommit memory thread. |
| |
On Fri, Mar 24, 2000 at 11:22:40PM +0000, Mark Zealey wrote: > > If an application allocates a large amount of memory and then > > does not use it, is the app not broken as designed? I say FIX > > THE APPLICATION! > > What about malicious users, viruses etc... I don't think that it's right > to have a badly designed program bring down the entire system.
That's not what he suggested. He suggested that malloc should fail if there is not enough memory/swap.
To me it sounds like a good idea. An important process (like syslog) can make sure it will not be killed by just mallocing the memory it needs on startup.
-- Ragnar Kjørstad
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |