linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/slab: add kernel-doc for one function
@ 2006-01-22  4:37 Randy.Dunlap
  2006-01-22 20:45 ` Martin Waitz
  0 siblings, 1 reply; 4+ messages in thread
From: Randy.Dunlap @ 2006-01-22  4:37 UTC (permalink / raw)
  To: tali, akpm; +Cc: lkml

From: Randy Dunlap <rdunlap@xenotime.net>

Fix kernel-doc for calculate_slab_order().

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 mm/slab.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

--- linux-2616-rc1-secur.orig/mm/slab.c
+++ linux-2616-rc1-secur/mm/slab.c
@@ -1490,8 +1490,13 @@ static inline void set_up_list3s(kmem_ca
 }
 
 /**
- * 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


---

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-22 21:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-22  4:37 [PATCH] mm/slab: add kernel-doc for one function Randy.Dunlap
2006-01-22 20:45 ` Martin Waitz
2006-01-22 21:19   ` Sam Ravnborg
2006-01-22 21:51     ` Martin Waitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).