mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-12 23:33:55 +08: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
@ -1523,6 +1523,8 @@ static void __vunmap(const void *addr, int deallocate_pages)
|
||||
* 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