From e745a4c91eef2c2ed78dc7bccdd1f33151511053 Mon Sep 17 00:00:00 2001 From: Petr Kozelka Date: Sat, 23 Jan 2016 21:53:55 +0100 Subject: [PATCH] fix two little typos --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 9d7cb29..77983fb 100644 --- a/index.html +++ b/index.html @@ -100,7 +100,7 @@

Programming for nommu Linux

satisfied. After a while, the largest available chunk of memory tends to be far smaller than the total amount of free memory.

-

The system needs contiguous allocations for program code, for +

The system needs contiguous allocations for program code, for process stacks and environment space, and to satisfy malloc(). The smaller these allocations can be, the more likely they are to fit into available chunks space on a fragmented system. (Conversely, the more @@ -133,7 +133,7 @@

Programming for nommu Linux

in case it's using the same stack).

If the child can't exec() a new process, it should call _exit() instead - of exit() becaue the first is a system call and the latter does various + of exit() because the first is a system call and the latter does various cleanup work like stdio flushing and running atexit() calls and destructors that are properties of the parent process, and none of the child's business.