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. Users of this flag need
52 will be stressed unless allocation succeeds, you may use ``GFP_ATOMIC``.
67 example may be a hardware allocation that maps data directly into
94 * ``GFP_KERNEL & ~__GFP_RECLAIM`` - optimistic allocation without _any_
101 allocation without any attempt to free memory from the current
108 non sleeping allocation with an expensive fallback so it can access
114 allocation requests are basically no-fail but there is no guarantee of
119 and all allocation requests fail early rather than cause disruptive
124 behavior and all allocation requests try really hard. The request
129 and all allocation requests will loop endlessly until they succeed.
161 If you are not sure whether the allocation size is too large for
163 try to allocate memory with `kmalloc` and if the allocation fails it