Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227691
b: refs/heads/master
c: 8165984
h: refs/heads/master
i:
  227689: c3e3e63
  227687: ad25efa
v: v3
  • Loading branch information
Tero Roponen authored and Pekka Enberg committed Dec 4, 2010
1 parent 79e4cf2 commit 45de798
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: 85beb5869a4f6abb52a7cf8e01de6fa57e9ee47d
refs/heads/master: 8165984acf825917437debae519209073c32a5a7
4 changes: 2 additions & 2 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -3417,13 +3417,13 @@ static int validate_slab(struct kmem_cache *s, struct page *page,

for_each_free_object(p, s, page->freelist) {
set_bit(slab_index(p, s, addr), map);
if (!check_object(s, page, p, 0))
if (!check_object(s, page, p, SLUB_RED_INACTIVE))
return 0;
}

for_each_object(p, s, addr, page->objects)
if (!test_bit(slab_index(p, s, addr), map))
if (!check_object(s, page, p, 1))
if (!check_object(s, page, p, SLUB_RED_ACTIVE))
return 0;
return 1;
}
Expand Down

0 comments on commit 45de798

Please sign in to comment.