On Tue, 14 Jan 2014, Dave Hansen wrote: > > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=c65c1877bd6826ce0d9713d76e30a7bed8e49f38 > > I think the assert is just bogus at least in the early case. > early_kmem_cache_node_alloc() says: > * No kmalloc_node yet so do it by hand. We know that this is the first > * slab on the node for this slabcache. There are no concurrent accesses > * possible. > > Should we do something like the attached patch? (very lightly tested) > Yeah, I think that's the best option to keep the runtime checking to ensure the proper lock is held on debug kernels with lockdep enabled and is better than reverting back to the comment. -- 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>