diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-05-07 19:18:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-07 21:38:27 -0400 |
commit | c9fcee5132d51875384e764aed85036458956de9 (patch) | |
tree | c7ff48498d31522585fa621e5bd539484cebc958 /mm | |
parent | 22ea9c070350b824d6c3b65bce06ee7c6cc87b99 (diff) |
mm/vmalloc.c: add vfree comment
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/vmalloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index b12fd8612604..d365724feb05 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c | |||
@@ -1522,6 +1522,8 @@ static void __vunmap(const void *addr, int deallocate_pages) | |||
1522 | * Must not be called in NMI context (strictly speaking, only if we don't | 1522 | * Must not be called in NMI context (strictly speaking, only if we don't |
1523 | * have CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG, but making the calling | 1523 | * have CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG, but making the calling |
1524 | * conventions for vfree() arch-depenedent would be a really bad idea) | 1524 | * conventions for vfree() arch-depenedent would be a really bad idea) |
1525 | * | ||
1526 | * NOTE: assumes that the object at *addr has a size >= sizeof(llist_node) | ||
1525 | * | 1527 | * |
1526 | */ | 1528 | */ |
1527 | void vfree(const void *addr) | 1529 | void vfree(const void *addr) |