* [PATCH] Documentation: update CodingStyle memory allocators
@ 2011-07-06 18:27 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2011-07-06 18:27 UTC (permalink / raw)
To: lkml; +Cc: torvalds
From: Jesper Juhl <jj@chaosbits.net>
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>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
Documentation/CodingStyle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- lnx-30-rc4.orig/Documentation/CodingStyle
+++ lnx-30-rc4/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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-06 18:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-06 18:27 [PATCH] Documentation: update CodingStyle memory allocators Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®