]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/slub_def.h
cgroup: Include dying leaders with live threads in PROCS iterations
[mirror_ubuntu-bionic-kernel.git] / include / linux / slub_def.h
index 0adae162dc8f134201a7be92cab43796f97aef49..96895128c1b3e30580d4e39c5cc45ef7235da5a9 100644 (file)
@@ -88,7 +88,8 @@ struct kmem_cache {
        int object_size;        /* The size of an object without meta data */
        int offset;             /* Free pointer offset. */
 #ifdef CONFIG_SLUB_CPU_PARTIAL
-       int cpu_partial;        /* Number of per cpu partial objects to keep around */
+       /* Number of per cpu partial objects to keep around */
+       unsigned int cpu_partial;
 #endif
        struct kmem_cache_order_objects oo;
 
@@ -151,8 +152,12 @@ struct kmem_cache {
 
 #ifdef CONFIG_SYSFS
 #define SLAB_SUPPORTS_SYSFS
+void sysfs_slab_unlink(struct kmem_cache *);
 void sysfs_slab_release(struct kmem_cache *);
 #else
+static inline void sysfs_slab_unlink(struct kmem_cache *s)
+{
+}
 static inline void sysfs_slab_release(struct kmem_cache *s)
 {
 }