From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: tali@admingilde.org, akpm <akpm@osdl.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] mm/slab: add kernel-doc for one function
Date: Sat, 21 Jan 2006 20:37:09 -0800 [thread overview]
Message-ID: <20060121203709.76613d31.rdunlap@xenotime.net> (raw)
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
---
next reply other threads:[~2006-01-22 4:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-22 4:37 Randy.Dunlap [this message]
2006-01-22 20:45 ` [PATCH] mm/slab: add kernel-doc for one function Martin Waitz
2006-01-22 21:19 ` Sam Ravnborg
2006-01-22 21:51 ` Martin Waitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060121203709.76613d31.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tali@admingilde.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).