Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88399
b: refs/heads/master
c: 50ef37b
h: refs/heads/master
i:
  88397: 973c874
  88395: 72618fd
  88391: e91fc5e
  88383: 7b7ae7c
v: v3
  • Loading branch information
Christoph Lameter authored and Pekka Enberg committed Apr 14, 2008
1 parent 6360e9c commit 354f1d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 5b06c853ad447636e31d105e95c48ae9abb6bfb5
refs/heads/master: 50ef37b96c11e76625067ae413dc54585ea22585
4 changes: 3 additions & 1 deletion trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -3979,10 +3979,12 @@ static int show_stat(struct kmem_cache *s, char *buf, enum stat_item si)

len = sprintf(buf, "%lu", sum);

#ifdef CONFIG_SMP
for_each_online_cpu(cpu) {
if (data[cpu] && len < PAGE_SIZE - 20)
len += sprintf(buf + len, " c%d=%u", cpu, data[cpu]);
len += sprintf(buf + len, " C%d=%u", cpu, data[cpu]);
}
#endif
kfree(data);
return len + sprintf(buf + len, "\n");
}
Expand Down

0 comments on commit 354f1d4

Please sign in to comment.