search for: slab_unmergeable

Displaying 1 result from an estimated 1 matches for "slab_unmergeable".

2013 Jan 14
5
[PATCH] mm/slab: add a leak decoder callback
...or_each_object(p, s, addr, page->objects) { if (!test_bit(slab_index(p, s, addr), map)) { + if (unlikely(s->decoder)) + s->decoder(p); printk(KERN_ERR "INFO: Object 0x%p @offset=%tu\n", p, p - addr); print_tracking(s, p); @@ -3787,6 +3789,9 @@ static int slab_unmergeable(struct kmem_cache *s) if (s->ctor) return 1; + if (s->decoder) + return 1; + /* * We may have set a slab to be unmergeable during bootstrap. */ -- 1.7.7.6 -- To unsubscribe, send a message with ''unsubscribe linux-mm'' in the body to majordomo@kvack.org. For...