Rev 1760 | Rev 1780 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1760 | Rev 1766 | ||
---|---|---|---|
Line 159... | Line 159... | ||
159 | { |
159 | { |
160 | void *data; |
160 | void *data; |
161 | slab_t *slab; |
161 | slab_t *slab; |
162 | size_t fsize; |
162 | size_t fsize; |
163 | int i; |
163 | int i; |
164 | int status; |
- | |
165 | int zone=0; |
164 | int zone=0; |
166 | 165 | ||
167 | data = frame_alloc_rc_zone(cache->order, FRAME_KA | flags, &status, &zone); |
166 | data = frame_alloc_generic(cache->order, FRAME_KA | flags, &zone); |
168 | if (status != FRAME_OK) { |
167 | if (!data) { |
169 | return NULL; |
168 | return NULL; |
170 | } |
169 | } |
171 | if (! (cache->flags & SLAB_CACHE_SLINSIDE)) { |
170 | if (! (cache->flags & SLAB_CACHE_SLINSIDE)) { |
172 | slab = slab_alloc(slab_extern_cache, flags); |
171 | slab = slab_alloc(slab_extern_cache, flags); |
173 | if (!slab) { |
172 | if (!slab) { |