Rev 1787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1950 | ||
---|---|---|---|
Line 78... | Line 78... | ||
78 | 78 | ||
79 | 2) If the flags parameter does not contain FRAME_ATOMIC, the allocator |
79 | 2) If the flags parameter does not contain FRAME_ATOMIC, the allocator |
80 | will never return NULL, but it CAN sleep indefinitely. The caller |
80 | will never return NULL, but it CAN sleep indefinitely. The caller |
81 | does not have to check the return value. |
81 | does not have to check the return value. |
82 | 82 | ||
83 | 3) The maximum size that can be allocated using malloc is 128K |
83 | 3) The maximum size that can be allocated using malloc is 256K |
84 | 84 | ||
85 | Rules 1) and 2) apply to slab_alloc as well. Using SLAB allocator |
85 | Rules 1) and 2) apply to slab_alloc as well. Using SLAB allocator |
86 | to allocate too large values is not recommended. |
86 | to allocate too large values is not recommended. |
87 | 87 |