projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ea9c0
)
mm/vmalloc.c: add vfree comment
author
Andrew Morton
<akpm@linux-foundation.org>
Tue, 7 May 2013 23:18:18 +0000
(16:18 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 8 May 2013 01:38:27 +0000
(18:38 -0700)
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/vmalloc.c
b/mm/vmalloc.c
index b12fd8612604f26bfca3006fd07bcbad27d73040..d365724feb05206fc0b37c852f5859499f1cb6b3 100644
(file)
--- a/
mm/vmalloc.c
+++ b/
mm/vmalloc.c
@@
-1522,6
+1522,8
@@
static void __vunmap(const void *addr, int deallocate_pages)
* Must not be called in NMI context (strictly speaking, only if we don't
* have CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG, but making the calling
* conventions for vfree() arch-depenedent would be a really bad idea)
+ *
+ * NOTE: assumes that the object at *addr has a size >= sizeof(llist_node)
*
*/
void vfree(const void *addr)