Commit 41bba5af authored by Andrey Konovalov's avatar Andrey Konovalov Committed by Vincenzo Frascino
Browse files

kasan: clarify comment in __kasan_kfree_large

Currently it says that the memory gets poisoned by page_alloc code.
Clarify this by mentioning the specific callback that poisons the

Signed-off-by: default avatarAndrey Konovalov <>
Reviewed-by: default avatarDmitry Vyukov <>
parent 91de50eb
......@@ -436,5 +436,5 @@ void __kasan_kfree_large(void *ptr, unsigned long ip)
if (ptr != page_address(virt_to_head_page(ptr)))
kasan_report_invalid_free(ptr, ip);
/* The object will be poisoned by page_alloc. */
/* The object will be poisoned by kasan_free_pages(). */
Supports Markdown
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