* [PATCH] Update reference to memory allocators in CodingStyle to include vzalloc()
@ 2011-06-22 11:47 Jesper Juhl
2011-06-22 17:13 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Jesper Juhl @ 2011-06-22 11:47 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-doc, linux-kernel
The list of available general purpose memory allocators in
Documentation/CodingStyle chapter 14 is incomplete. This patch adds
the missing vzalloc() to the list.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
---
Documentation/CodingStyle | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index 58b0bf9..fa6e25b 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -680,8 +680,8 @@ ones already enabled by DEBUG.
Chapter 14: Allocating memory
The kernel provides the following general purpose memory allocators:
-kmalloc(), kzalloc(), kcalloc(), and vmalloc(). Please refer to the API
-documentation for further information about them.
+kmalloc(), kzalloc(), kcalloc(), vmalloc(), and vzalloc(). Please refer to
+the API documentation for further information about them.
The preferred form for passing a size of a struct is the following:
--
1.7.5.2
--
Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Update reference to memory allocators in CodingStyle to include vzalloc()
2011-06-22 11:47 [PATCH] Update reference to memory allocators in CodingStyle to include vzalloc() Jesper Juhl
@ 2011-06-22 17:13 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2011-06-22 17:13 UTC (permalink / raw)
To: Jesper Juhl; +Cc: linux-doc, linux-kernel
On Wed, 22 Jun 2011 13:47:16 +0200 (CEST) Jesper Juhl wrote:
> The list of available general purpose memory allocators in
> Documentation/CodingStyle chapter 14 is incomplete. This patch adds
> the missing vzalloc() to the list.
>
> Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Applied, thanks Jesper.
> ---
> Documentation/CodingStyle | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
> index 58b0bf9..fa6e25b 100644
> --- a/Documentation/CodingStyle
> +++ b/Documentation/CodingStyle
> @@ -680,8 +680,8 @@ ones already enabled by DEBUG.
> Chapter 14: Allocating memory
>
> The kernel provides the following general purpose memory allocators:
> -kmalloc(), kzalloc(), kcalloc(), and vmalloc(). Please refer to the API
> -documentation for further information about them.
> +kmalloc(), kzalloc(), kcalloc(), vmalloc(), and vzalloc(). Please refer to
> +the API documentation for further information about them.
>
> The preferred form for passing a size of a struct is the following:
>
> --
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-22 17:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-22 11:47 [PATCH] Update reference to memory allocators in CodingStyle to include vzalloc() Jesper Juhl
2011-06-22 17:13 ` Randy Dunlap
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).