Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175600
b: refs/heads/master
c: ddbf2e8
h: refs/heads/master
v: v3
  • Loading branch information
J. R. Okajima authored and Pekka Enberg committed Dec 6, 2009
1 parent f9cfe1b commit d9eae6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3d8b53a3abbfd0b74fa5dfaa690870d9619fad9
refs/heads/master: ddbf2e8366f2a7fa3419be418cfd83a914d2527f
5 changes: 5 additions & 0 deletions trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -3103,6 +3103,11 @@ static inline void *____cache_alloc(struct kmem_cache *cachep, gfp_t flags)
} else {
STATS_INC_ALLOCMISS(cachep);
objp = cache_alloc_refill(cachep, flags);
/*
* the 'ac' may be updated by cache_alloc_refill(),
* and kmemleak_erase() requires its correct value.
*/
ac = cpu_cache_get(cachep);
}
/*
* To avoid a false negative, if an object that is in one of the
Expand Down

0 comments on commit d9eae6e

Please sign in to comment.