From: Pekka Enberg Date: Tue, 24 Mar 2009 08:25:21 +0000 (+0200) Subject: Merge branches 'topic/slob/cleanups', 'topic/slob/fixes', 'topic/slub/core', 'topic... X-Git-Tag: firefly_0821_release~15227^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=15a5b0a4912d98a9615ef457c7bde8d08195a771;p=firefly-linux-kernel-4.4.55.git Merge branches 'topic/slob/cleanups', 'topic/slob/fixes', 'topic/slub/core', 'topic/slub/cleanups' and 'topic/slub/perf' into for-linus --- 15a5b0a4912d98a9615ef457c7bde8d08195a771 diff --cc mm/slub.c index 0280eee6cf37,6392ae5cc6b1,bdc9abb08a23,77268d18e78d,e150b5c0424f,c01a7a3001d2..c65a4edafc33 --- a/mm/slub.c +++ b/mm/slub.c @@@@@@@ -374,14 -374,14 -374,14 -374,14 -374,8 -374,14 +374,8 @@@@@@@ static struct track *get_track(struct k static void set_track(struct kmem_cache *s, void *object, enum track_item alloc, unsigned long addr) { ---- - struct track *p; --- - --- - if (s->offset) --- - p = object + s->offset + sizeof(void *); --- - else --- - p = object + s->inuse; ++++ + struct track *p = get_track(s, object, alloc); - if (s->offset) - p = object + s->offset + sizeof(void *); - else - p = object + s->inuse; - ---- - p += alloc; if (addr) { p->addr = addr; p->cpu = smp_processor_id();