I meant
(weighting_constant * vm_pages_of_pid(pid)) -
(number_of_descendants(pid) - number_of_ancestors(pid))
which is somewhat different. Sorry for leaving that mistake in. :/
Cheers,
--Adam
Adam D. Moss / UUNET Consulting / adam@uunet.pipex.com
UUNET / 332 Science Park / Milton Road / Cambridge CB4 4BZ
/ England / Voice +44 (0)1223 250100 / http://consult.uu.net/
====-==-=-=--=--=---=---=-------- ---- --- -- -- -- - - - - - - -
Personal WWW Thing: http://www.worldserver.pipex.com/home/adam/
(AllOpinionsAreMyOwnAndNotNecessarilyThoseOfUUNET) / :Team Torvalds: