From 68b95b535922f26d0cf4778e7967249d0921200f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 17 Oct 2015 19:01:04 +0200 Subject: info: sections for the memory allocation chapter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/chap/memory-allocation.texinfo | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) (limited to 'doc/info') diff --git a/doc/info/chap/memory-allocation.texinfo b/doc/info/chap/memory-allocation.texinfo index 32d5f55..b5b5094 100644 --- a/doc/info/chap/memory-allocation.texinfo +++ b/doc/info/chap/memory-allocation.texinfo @@ -167,3 +167,56 @@ void function(size_t n) Both of these allocation-methods are both automatic and dynamic. + + +@menu +* The alloca function:: Dynamically allocate automatically freed memory. +* Basic memory allocation:: Basic functions for dynamic memory allocation. +* Resizing memory allocations:: How to resize memory allocations. +* Efficient stack-based allocations:: Improving the performance using constrained allocation methods. +* Resizing the data segment:: How to change the size of the heap. +* Memory locking:: How to prevent pages from being swapped out. +@end menu + + + +@node The alloca function +@section The @code{alloca} function + +TODO + + + +@node Basic memory allocation +@section Basic memory allocation + +TODO + + + +@node Resizing memory allocations +@section Resizing memory allocations + +TODO + + + +@node Efficient stack-based allocations +@section Efficient stack-based allocations + +TODO + + + +@node Resizing the data segment +@section Resizing the data segment + +TODO + + + +@node Memory locking +@section Memory locking + +TODO + -- cgit v1.2.3-70-g09d2