lkml.org 
[lkml]   [1999]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] 2.2.10 buffer patch (OOM)
On Fri, 9 Jul 1999, Frank van Maarseveen wrote:
>
> On Thu, Jul 08, 1999 at 08:03:18PM +0200, Andrea Arcangeli wrote:
> > o kupdate replaces completly update. It's a separate and alone
> > kernel daemon. It has no way to be killed and it won't be swapped
> > out. We need kupdate mainly if the machine goes OOM.
>
> I never realized this could happen. Occasionally some of our machines runs
> out of memory because of bad user programs. But, instead of moving every
> program to the kernel why not creating a kind of "minfree" parameter
> for memory+swap instead? This has already been done for file systems

Not instead, _additionally_. kupdate is just to be sure the you have disk
updates as long as possible...

> and IMO it makes sense to do this for memory+swap as well. Whenever
> an essential daemon runs as non-root then that might be handled by doing
> something like
>
> echo 0 >/proc/$!/cap/minfreemem
>
> in the corresponding startup script, should it be necessary. Not
> all daemons are essential for proper operation of the system.
> I guess one must be root to change the capabilities in this case.
>

Of course, i think this will come.

--

- Bernd



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

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.064 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site