Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123462
b: refs/heads/master
c: 249b9f3
h: refs/heads/master
v: v3
  • Loading branch information
roel kluin authored and Pekka Enberg committed Nov 26, 2008
1 parent 7942bd5 commit 2c75c70
Show file tree
Hide file tree
Showing 2 changed files with 2 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: e9beef1815ab3aa88925595582cf09e64b2b9894
refs/heads/master: 249b9f331ec162af5a1fdb80f90cce77c2043985
2 changes: 1 addition & 1 deletion trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -2997,7 +2997,7 @@ static void *cache_alloc_refill(struct kmem_cache *cachep, gfp_t flags)
* there must be at least one object available for
* allocation.
*/
BUG_ON(slabp->inuse < 0 || slabp->inuse >= cachep->num);
BUG_ON(slabp->inuse >= cachep->num);

while (slabp->inuse < cachep->num && batchcount--) {
STATS_INC_ALLOCED(cachep);
Expand Down

0 comments on commit 2c75c70

Please sign in to comment.