Re: [mmotm:master 74/230] mm/slab.h:299:10: error: 'struct kmem_cache' has no member named 'node'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Argh a SLOB configuration which does not use node specfic management data.

Subject: SLOB has no node specific management structures.

Do not provide the defintions for node management structures for SLOB.

Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

Index: linux/mm/slab.h
===================================================================
--- linux.orig/mm/slab.h	2014-06-20 09:17:22.582566992 -0500
+++ linux/mm/slab.h	2014-06-20 09:19:00.803449284 -0500
@@ -262,7 +262,7 @@ static inline struct kmem_cache *cache_f
 }
 #endif

-
+#ifndef CONFIG_SLOB
 /*
  * The slab lists for all objects.
  */
@@ -307,5 +307,7 @@ static inline struct kmem_cache_node *ge
 	for (__node = 0; __n = get_node(__s, __node), __node < nr_node_ids; __node++) \
 		 if (__n)

+#endif
+
 void *slab_next(struct seq_file *m, void *p, loff_t *pos);
 void slab_stop(struct seq_file *m, void *p);

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]