Re: Some questions about linux kernel.

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Tue Mar 21 2000 - 08:37:24 EST


On Mon, 20 Mar 2000, David Whysong wrote:

> On Mon, 20 Mar 2000, Richard B. Johnson wrote:
>
> >The only solution to an out-of-memory condition is to never run
> >out of memory.
>
> Yes!
>
> >The place where all of the system information is known is in "user
> >space". The kernel readily "knows" stuff about the current process, but
> >retrieving information about other tasks in a page-fault handler would
> >result in an extremely poor performing machine. A user-space daemon can
> >acquire information about all the tasks, can detect runaway tasks, can
> >safeguard special tasks like Web Servers that haven't gone crazy, and
> >can watch for performance hurting rogue programs.
> >
> >Such a program, if properly designed, is the solution to such
> >out-of-memory conditions.
>
> No! Or perhaps it depends on what you want this user-space daemon to do.
>

It is yes. The purpose of the daemon is to monitor the system and
prevent an out of memory condition from existing. The kernel should
never kill anything (unless asked). Killing a task is policy. It
is specified by the administrator and administered by the daemon.

Cheers,
Dick Johnson

Penguin : Linux version 2.3.41 on an i686 machine (800.63 BogoMips).

-
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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:32 EST