Hi, Nick. > Index: linux-2.6/mm/slob.c > =================================================================== > --- linux-2.6.orig/mm/slob.c > +++ linux-2.6/mm/slob.c > @@ -464,6 +464,8 @@ void *__kmalloc_node(size_t size, gfp_t > unsigned int *m; > int align = max(ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); > > + lockdep_trace_alloc(flags); > + > if (size < PAGE_SIZE - align) { > if (!size) > return ZERO_SIZE_PTR; > @@ -569,6 +571,8 @@ void *kmem_cache_alloc_node(struct kmem_ > { > void *b; > > + lockdep_trace_alloc(flags); > + > if (c->size < PAGE_SIZE) > b = slob_alloc(c->size, flags, c->align, node); > else > Index: linux-2.6/mm/slub.c > =================================================================== > --- linux-2.6.orig/mm/slub.c > +++ linux-2.6/mm/slub.c > @@ -1596,6 +1596,7 @@ static __always_inline void *slab_alloc( > unsigned long flags; > unsigned int objsize; > > + lockdep_trace_alloc(flags); Probably, not flags but gfpflags ? > might_sleep_if(gfpflags & __GFP_WAIT); > > if (should_failslab(s->objsize, gfpflags)) > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@xxxxxxxxxx For more info on Linux MM, > see: http://www.linux-mm.org/ . > Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a> -- Kinds Regards, MinChan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html