Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135877
b: refs/heads/master
c: 1a00df4
h: refs/heads/master
i:
  135875: 76306d1
v: v3
  • Loading branch information
Akinobu Mita authored and Pekka Enberg committed Mar 23, 2009
1 parent 705f300 commit 24d1520
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6047a007d0f6b7395cd158f3bdda34ab39a48821
refs/heads/master: 1a00df4a2cc001dd9f45890e690548c24b2fa2d9
8 changes: 1 addition & 7 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,14 +374,8 @@ static struct track *get_track(struct kmem_cache *s, void *object,
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);

p += alloc;
if (addr) {
p->addr = addr;
p->cpu = smp_processor_id();
Expand Down

0 comments on commit 24d1520

Please sign in to comment.