Skip to content

Commit

Permalink
Merge branches 'topic/slab/fixes' and 'topic/slub/fixes' into for-linus
Browse files Browse the repository at this point in the history
  • Loading branch information
Pekka Enberg committed Feb 2, 2009
2 parents 1cf3eb2 + 3718909 commit f58914e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,7 @@ static struct kmem_cache_cpu *alloc_kmem_cache_cpu(struct kmem_cache *s,
static void free_kmem_cache_cpu(struct kmem_cache_cpu *c, int cpu)
{
if (c < per_cpu(kmem_cache_cpu, cpu) ||
c > per_cpu(kmem_cache_cpu, cpu) + NR_KMEM_CACHE_CPU) {
c >= per_cpu(kmem_cache_cpu, cpu) + NR_KMEM_CACHE_CPU) {
kfree(c);
return;
}
Expand Down

0 comments on commit f58914e

Please sign in to comment.