Hi!

----

Would it be usefull to create a kernel flag to mark all process stack
memory with |MAP_NORESERVE|, e.g. don't allocate swap memory for stacks
? The idea is to reduce the swap requirements for platforms like settop
boxes etc. with limited or no swap space by exploiting the detail that
almost all applications reserve memory for large stacks (8MB default)
but only use a tiny fraction (most shells and shell applications rarely
use more than 64k).

AFAIK targets like BeleniX's LiveDVD would greatly benefit from such an
optional switch in /etc/system

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to