Update Doku aus Driversourcen
Change-Id: I455f0813b970151089b3dc1b8d9407eea323cdd1
diff --git a/doc/concepts/memory b/doc/concepts/memory
index 9524eb3..95b0b2d 100644
--- a/doc/concepts/memory
+++ b/doc/concepts/memory
@@ -1,9 +1,7 @@
CONCEPT
- memory
- swapping
+ memory / swapping
DESCRIPTION
-
TODO: This is out of date. Also document the relation with reset
(Collected from the Changelogs of the driver source)
@@ -35,8 +33,8 @@
Any feedback of how to best tune these values are welcome. The
call of reset will be done once, and not yet again until the
object has been touched. This enables reset'ed objects to stay
- swapped out. If you have a mudlib that has no ojbects that
- defines 'clean_up', then you may better define this time as 0,
+ swapped out. If you have a mudlib that has no objects that
+ define 'clean_up', then you may better define this time as 0,
which means never call clean_up (and thus never swap the
object in needlessly). A well implemented usage of clean_up is
better than the swap algorithm, as even cloned objects can be
@@ -44,13 +42,14 @@
swapping (memory wise).
Changed mechanism of calling clean_up() slightly. Only objects
- that defines the function will be called. And, only clean_up()
+ that define the function will be called. And, only clean_up()
that returns non-zero will be called again. This will minimize
- calls of clean_up(), while still cost very litte to maintain.
+ calls of clean_up(), while still costing little to maintain.
clean_up() now gets a flag as argument, which will be non-zero
if the the program of this object is used for inheritance by
other objects.
SEE ALSO
- clean_up(A), slow_shut_down(M), quota_demon(M), malloc(D)
+ clean_up(A), slow_shut_down(M), quota_demon(M), low_memory(M)
+ malloc(D), garbage_collection(E)