summaryrefslogtreecommitdiff
path: root/schulung_tools/malloc/README.txt
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2019-03-28 15:17:34 +0106
committerJohn Ogness <john.ogness@linutronix.de>2019-03-28 15:17:34 +0106
commite1e6511cd68b646234dcc8f5f86b25b7ea48a720 (patch)
tree859af07101563fb34d00dfbf256c4a76b3294f99 /schulung_tools/malloc/README.txt
parenta39de4609225129c19df931d556b1d032d806403 (diff)
schulung_tools: rename/modify malloc to avoid system()
A more complex but cleaner implementation of retrieving/printing the stats has been implemented. The implementation is put into a separate stats.c file so that the main program (malloc.) can be easily reviewed to see what the program is doing. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'schulung_tools/malloc/README.txt')
-rw-r--r--schulung_tools/malloc/README.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/schulung_tools/malloc/README.txt b/schulung_tools/malloc/README.txt
new file mode 100644
index 0000000..d496b5e
--- /dev/null
+++ b/schulung_tools/malloc/README.txt
@@ -0,0 +1,5 @@
+This program demonstrates that a process is not actually assigned memory
+until it page-faults on the pages.
+
+WARNING: This program might fill your RAM and cause the Linux OOM Killer
+ to be invoked.