]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/slub_def.h
slub: Determine gfpflags once and not every time a slab is allocated
[linux-2.6-omap-h63xx.git] / include / linux / slub_def.h
index a849c472b84508d31937eeea88623be6625ac904..98be113cf935078cc0e84974a972aedfc0c2e025 100644 (file)
@@ -71,6 +71,7 @@ struct kmem_cache {
 
        /* Allocation and freeing of slabs */
        int objects;            /* Number of objects in slab */
+       gfp_t allocflags;       /* gfp flags to use on each alloc */
        int refcount;           /* Refcount for slab cache destroy */
        void (*ctor)(struct kmem_cache *, void *);
        int inuse;              /* Offset to metadata */