]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mm_types.h
slub: Store max number of objects in the page struct.
[linux-2.6-omap-h63xx.git] / include / linux / mm_types.h
index af190ceab9719dc68b148e3b22b05b28a54c64d2..e0bd2235296b549e15102833cca8196caf4d0990 100644 (file)
@@ -42,7 +42,10 @@ struct page {
                                         * to show when page is mapped
                                         * & limit reverse map searches.
                                         */
-               unsigned int inuse;     /* SLUB: Nr of objects */
+               struct {                /* SLUB */
+                       u16 inuse;
+                       u16 objects;
+               };
        };
        union {
            struct {