Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231501
b: refs/heads/master
c: 04d9487
h: refs/heads/master
i:
  231499: 192b477
v: v3
  • Loading branch information
Christoph Lameter authored and Pekka Enberg committed Jan 11, 2011
1 parent 767a23a commit 8dec248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 925268a06dc2b1ff7bfcc37419a6827a0e739639
refs/heads/master: 04d94879c8a4973b5499dc26b9d38acee8928791
4 changes: 2 additions & 2 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -3821,7 +3821,7 @@ static ssize_t show_slab_objects(struct kmem_cache *s,
}
}

down_read(&slub_lock);
lock_memory_hotplug();
#ifdef CONFIG_SLUB_DEBUG
if (flags & SO_ALL) {
for_each_node_state(node, N_NORMAL_MEMORY) {
Expand Down Expand Up @@ -3862,7 +3862,7 @@ static ssize_t show_slab_objects(struct kmem_cache *s,
x += sprintf(buf + x, " N%d=%lu",
node, nodes[node]);
#endif
up_read(&slub_lock);
unlock_memory_hotplug();
kfree(nodes);
return x + sprintf(buf + x, "\n");
}
Expand Down

0 comments on commit 8dec248

Please sign in to comment.