mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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>
This commit is contained in:
parent
22ea9c0703
commit
c9fcee5132
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user