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