Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177827
b: refs/heads/master
c: 0587da4
h: refs/heads/master
i:
  177825: 322cc20
  177823: edf2004
v: v3
  • Loading branch information
Catalin Marinas committed Oct 28, 2009
1 parent 67f42ac commit 3b988b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: a6f5aa1ea05686ad6e84593a00a04161e6dfb3a3
refs/heads/master: 0587da40be78d3704a48d3e9a619183891727f5f
9 changes: 6 additions & 3 deletions trunk/mm/kmemleak.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,11 +1025,14 @@ static void scan_block(void *_start, void *_end,
* added to the gray_list.
*/
object->count++;
if (color_gray(object))
if (color_gray(object)) {
list_add_tail(&object->gray_list, &gray_list);
else
put_object(object);
spin_unlock_irqrestore(&object->lock, flags);
continue;
}

spin_unlock_irqrestore(&object->lock, flags);
put_object(object);
}
}

Expand Down

0 comments on commit 3b988b0

Please sign in to comment.