Commit ff4dc772 authored by Mike Rapoport's avatar Mike Rapoport Committed by Linus Torvalds
Browse files

mm/util: add kernel-doc for kvfree


Signed-off-by: default avatarMike Rapoport <>
Reviewed-by: default avatarAndrew Morton <>
Cc: Jonathan Corbet <>
Cc: Matthew Wilcox <>
Cc: Michal Hocko <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent b86181f1
......@@ -434,6 +434,13 @@ void *kvmalloc_node(size_t size, gfp_t flags, int node)
* kvfree - free memory allocated with kvmalloc
* @addr: pointer returned by kvmalloc
* If the memory is allocated from vmalloc area it is freed with vfree().
* Otherwise kfree() is used.
void kvfree(const void *addr)
if (is_vmalloc_addr(addr))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment