* [PATCH] staging: zsmalloc: comment zs_create_pool function
@ 2013-01-04 20:14 Davidlohr Bueso
2013-01-09 17:57 ` Davidlohr Bueso
0 siblings, 1 reply; 3+ messages in thread
From: Davidlohr Bueso @ 2013-01-04 20:14 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-kernel, Nitin Gupta
Just as with zs_malloc() and zs_map_object(), it is worth
formally commenting the zs_create_pool() function.
Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
---
drivers/staging/zsmalloc/zsmalloc-main.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/staging/zsmalloc/zsmalloc-main.c b/drivers/staging/zsmalloc/zsmalloc-main.c
index 09a9d35..eb00772 100644
--- a/drivers/staging/zsmalloc/zsmalloc-main.c
+++ b/drivers/staging/zsmalloc/zsmalloc-main.c
@@ -798,6 +798,17 @@ fail:
return notifier_to_errno(ret);
}
+/**
+ * zs_create_pool - Creates an allocation pool to work from.
+ * @name: name of the pool to be created
+ * @flags: allocation flags used when growing pool
+ *
+ * This function must be called before anything when using
+ * the zsmalloc allocator.
+ *
+ * On success, a pointer to the newly created pool is returned,
+ * otherwise NULL.
+ */
struct zs_pool *zs_create_pool(const char *name, gfp_t flags)
{
int i, ovhd_size;
--
1.7.11.7
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] staging: zsmalloc: comment zs_create_pool function
2013-01-04 20:14 [PATCH] staging: zsmalloc: comment zs_create_pool function Davidlohr Bueso
@ 2013-01-09 17:57 ` Davidlohr Bueso
2013-01-09 18:11 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Davidlohr Bueso @ 2013-01-09 17:57 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-kernel, Nitin Gupta
ping?
On Fri, 2013-01-04 at 12:14 -0800, Davidlohr Bueso wrote:
> Just as with zs_malloc() and zs_map_object(), it is worth
> formally commenting the zs_create_pool() function.
>
> Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
> ---
> drivers/staging/zsmalloc/zsmalloc-main.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/staging/zsmalloc/zsmalloc-main.c b/drivers/staging/zsmalloc/zsmalloc-main.c
> index 09a9d35..eb00772 100644
> --- a/drivers/staging/zsmalloc/zsmalloc-main.c
> +++ b/drivers/staging/zsmalloc/zsmalloc-main.c
> @@ -798,6 +798,17 @@ fail:
> return notifier_to_errno(ret);
> }
>
> +/**
> + * zs_create_pool - Creates an allocation pool to work from.
> + * @name: name of the pool to be created
> + * @flags: allocation flags used when growing pool
> + *
> + * This function must be called before anything when using
> + * the zsmalloc allocator.
> + *
> + * On success, a pointer to the newly created pool is returned,
> + * otherwise NULL.
> + */
> struct zs_pool *zs_create_pool(const char *name, gfp_t flags)
> {
> int i, ovhd_size;
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] staging: zsmalloc: comment zs_create_pool function
2013-01-09 17:57 ` Davidlohr Bueso
@ 2013-01-09 18:11 ` Greg Kroah-Hartman
0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2013-01-09 18:11 UTC (permalink / raw)
To: Davidlohr Bueso; +Cc: linux-kernel, Nitin Gupta
On Wed, Jan 09, 2013 at 09:57:34AM -0800, Davidlohr Bueso wrote:
> ping?
>
> On Fri, 2013-01-04 at 12:14 -0800, Davidlohr Bueso wrote:
> > Just as with zs_malloc() and zs_map_object(), it is worth
> > formally commenting the zs_create_pool() function.
> >
> > Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
> > ---
> > drivers/staging/zsmalloc/zsmalloc-main.c | 11 +++++++++++
I am currently digging out of a 3 week backlog of email due to vacation.
Staging patches, especially ones for zsmalloc and friends, are way on
the bottom of the priority list. It's not lost, and will be gotten to
eventually, thanks for your patience.
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-09 18:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-04 20:14 [PATCH] staging: zsmalloc: comment zs_create_pool function Davidlohr Bueso
2013-01-09 17:57 ` Davidlohr Bueso
2013-01-09 18:11 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox