Thread (25 messages) 25 messages, 6 authors, 2013-12-19

Re: netfilter: active obj WARN when cleaning up

From: Christoph Lameter <hidden>
Date: 2013-12-02 22:11:54
Also in: lkml, netdev, netfilter-devel

On Mon, 2 Dec 2013, Greg KH wrote:
quoted
Signed-off-by: Christoph Lameter <redacted>
That looks good, if you fix the indentation issue :)
Huh?
quoted
Index: linux/include/linux/slub_def.h
===================================================================
--- linux.orig/include/linux/slub_def.h	2013-12-02 13:31:07.395905824 -0600
+++ linux/include/linux/slub_def.h	2013-12-02 13:31:07.385906101 -0600
@@ -98,4 +98,8 @@ struct kmem_cache {
 	struct kmem_cache_node *node[MAX_NUMNODES];
 };

+#ifdef CONFIG_SYSFS
+#define SLAB_SUPPORTS_SYSFS
Why even define this?  Why not just use CONFIG_SYSFS?
Because not all slab allocators currently support SYSFS and there is the
need to have different code now in slab_common.c depending on the
configuration of the allocator.


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help