From: Randy.Dunlap Date: Wed, 1 Feb 2006 11:05:52 +0000 (-0800) Subject: [PATCH] mm/slab: add kernel-doc for one function X-Git-Tag: v2.6.16-rc2~86 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a70773ddb96b74c7afe5a5bc859ba45e3d02899e;p=linux-2.6-omap-h63xx.git [PATCH] mm/slab: add kernel-doc for one function Fix kernel-doc for calculate_slab_order(). Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/slab.c b/mm/slab.c index 67527268b01..afe9c5f8c57 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -1559,8 +1559,13 @@ static void set_up_list3s(struct kmem_cache *cachep, int index) } /** - * calculate_slab_order - calculate size (page order) of slabs and the number - * of objects per slab. + * calculate_slab_order - calculate size (page order) of slabs + * @cachep: pointer to the cache that is being created + * @size: size of objects to be created in this cache. + * @align: required alignment for the objects. + * @flags: slab allocation flags + * + * Also calculates the number of objects per slab. * * This could be made much more intelligent. For now, try to avoid using * high order pages for slabs. When the gfp() functions are more friendly