From e1e6511cd68b646234dcc8f5f86b25b7ea48a720 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Thu, 28 Mar 2019 15:17:34 +0106 Subject: 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 --- schulung_tools/malloc/README.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 schulung_tools/malloc/README.txt (limited to 'schulung_tools/malloc/README.txt') 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. -- cgit v1.2.3