[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] a simple OOM killer to save me from Netscape
On Sun, 15 Apr 2001, Rik van Riel wrote:
> On 14 Apr 2001, Eric W. Biederman wrote:
> > That's not bad but when it starts coming to policy, the policy
> > decisions are much more safely made in user space rather than the
> > kernel. And we just allow the kernel to completely swap-out suspended
> > processes.
>
> You're soooo full of crap. Next we know you'll be proposing
> to move the scheduler and the pageout code to userspace.
To elaborate on that:
1) there already is lots of policy in the kernel (scheduler,
page stealing code, users can nice-down-but-not-up, ...)
2) thrashing and OOM are relatively rare situations
3) I can see absolutely no reason why you would ever want
to take a 2 kB piece of code from the kernel and put it
in a 32 kB userland daemon (which would need another 32 kB
of kernel overhead for task struct, pagetables, etc..)
regards,
Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...
http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com.br/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/