]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branches 'topic/slob/cleanups', 'topic/slob/fixes', 'topic/slub/core', 'topic...
authorPekka Enberg <penberg@cs.helsinki.fi>
Tue, 24 Mar 2009 08:25:21 +0000 (10:25 +0200)
committerPekka Enberg <penberg@cs.helsinki.fi>
Tue, 24 Mar 2009 08:25:21 +0000 (10:25 +0200)
1  2  3  4  5  6 
include/linux/slub_def.h
mm/slob.c
mm/slub.c

Simple merge
diff --cc mm/slob.c
Simple merge
diff --cc mm/slub.c
index 0280eee6cf3768479760e6e564e9364d6a83e346,6392ae5cc6b1e8972d98b059bee576aeb66d366c,bdc9abb08a230f2724ad842a0bc4928da0e48d23,77268d18e78de591d6595d0ff964bc4e1d314e9e,e150b5c0424f0672d6f59144b9b92e35b23ddb47,c01a7a3001d296d7864f83e20d7aa70d3a0e8730..c65a4edafc3343e83a2513f8edab9b0ed82f3ab5
+++ 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();