Lines Matching full:allocation
4 Memory Allocation Guide
7 Linux provides a variety of APIs for memory allocation. You can
14 Most of the memory allocation APIs use GFP flags to express how that
16 pages", the underlying memory allocation function.
18 Diversity of the allocation APIs combined with the numerous GFP flags
26 Of course there are cases when other allocation APIs and different GFP
45 * If the allocation is performed from an atomic context, e.g interrupt
48 ``GFP_NOWAIT`` allocation is likely to fail. Allocations which
51 will be stressed unless allocation succeeds, you may use ``GFP_ATOMIC``.
66 example may be a hardware allocation that maps data directly into
93 * ``GFP_KERNEL & ~__GFP_RECLAIM`` - optimistic allocation without _any_
100 allocation without any attempt to free memory from the current
107 non sleeping allocation with an expensive fallback so it can access
113 allocation requests are basically no-fail but there is no guarantee of
118 and all allocation requests fail early rather than cause disruptive
123 behavior and all allocation requests try really hard. The request
128 and all allocation requests will loop endlessly until they succeed.
158 If you are not sure whether the allocation size is too large for
160 try to allocate memory with `kmalloc` and if the allocation fails it