Skip to content

Commit

Permalink
slub - fix get_object_page comment
Browse files Browse the repository at this point in the history
Use 'slab page' instead of 'slab object'.

Acked-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
  • Loading branch information
Cyrill Gorcunov authored and Pekka Enberg committed Nov 26, 2008
1 parent ce71e27 commit e9beef1
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 @@ -1739,7 +1739,7 @@ void kmem_cache_free(struct kmem_cache *s, void *x)
}
EXPORT_SYMBOL(kmem_cache_free);

/* Figure out on which slab object the object resides */
/* Figure out on which slab page the object resides */
static struct page *get_object_page(const void *x)
{
struct page *page = virt_to_head_page(x);
Expand Down

0 comments on commit e9beef1

Please sign in to comment.