Re: Some questions about linux kernel.

From: David Whysong (dwhysong@physics.ucsb.edu)
Date: Fri Mar 17 2000 - 03:41:28 EST


On Thu, 16 Mar 2000, Horst von Brand wrote:

[Lots of good stuff snipped]

>Note the nice(1) man page, which traditionally says something like: "Bugs:
>Nobody uses it"
>
>In any case, your VM priorities _must_ be tied to niceness, it makes no
>sense to have a high-level VM priority on a process that never gets to
>run. And, AFAIU this is what Rik's patch does on itself...

That's not unreasonable, but I can certainly see situations where niced
tasks might be considered "more important" than non-niced tasks. Sometimes
this is due to your aforementioned bug in "nice". :-)

>And, yet again (it must be around a dozen times now): OOM is an extremely
>exceptional condition, absolutely *NO* extra effort should be expended on
>solving just this problem.

I more or less agree, but it would be nice if there were some way to
indicate to the kernel which processes not to kill when OOM. The current
behavior is no better than syncing the disks and crashing the machine.

Dave

David Whysong dwhysong@physics.ucsb.edu
Astrophysics graduate student University of California, Santa Barbara
My public PGP keys are on my web page - http://www.physics.ucsb.edu/~dwhysong
DSS PGP Key 0x903F5BD6 : FE78 91FE 4508 106F 7C88 1706 B792 6995 903F 5BD6
D-H PGP key 0x5DAB0F91 : BC33 0F36 FCCD E72C 441F 663A 72ED 7FB7 5DAB 0F91

-
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:21 EST