]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mm_types.h
SLUB: Use unique end pointer for each slab page.
[linux-2.6-omap-h63xx.git] / include / linux / mm_types.h
index 34023c65d4669bc4c4894d392e9d915db3710034..bfee0bd1d43545742504225e0ab0754a315e7aa9 100644 (file)
@@ -64,7 +64,10 @@ struct page {
 #if NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS
            spinlock_t ptl;
 #endif
-           struct kmem_cache *slab;    /* SLUB: Pointer to slab */
+           struct {
+                  struct kmem_cache *slab;     /* SLUB: Pointer to slab */
+                  void *end;                   /* SLUB: end marker */
+           };
            struct page *first_page;    /* Compound tail pages */
        };
        union {