Commit 316b3799880c55bb20f6d2db904245eccc30e25f

Authored by Jesper Juhl
Committed by Linus Torvalds
1 parent 0dcb6d737c

Documentation: update CodingStyle memory allocators

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

Documentation/CodingStyle
... ... @@ -680,8 +680,8 @@
680 680 Chapter 14: Allocating memory
681 681  
682 682 The kernel provides the following general purpose memory allocators:
683   -kmalloc(), kzalloc(), kcalloc(), and vmalloc(). Please refer to the API
684   -documentation for further information about them.
  683 +kmalloc(), kzalloc(), kcalloc(), vmalloc(), and vzalloc(). Please refer to
  684 +the API documentation for further information about them.
685 685  
686 686 The preferred form for passing a size of a struct is the following:
687 687