Thread (19 messages) 19 messages, 5 authors, 2015-08-10

[PATCH v4 0/7] KASAN for arm64

From: Andrey Ryabinin <hidden>
Date: 2015-07-27 08:13:16
Also in: linux-mm, lkml

On 07/24/2015 07:41 PM, Andrey Ryabinin wrote:
 - fix memleak in kasan_populate_zero_shadow:
       Following code could leak memory when pgd_populate() is nop:
		void *p = early_alloc(PAGE_SIZE, NUMA_NO_NODE);
		pgd_populate(&init_mm, pgd, p);
It's not a leak actually, because this code is under if (pgd_none(*pgd)).
But gcc complains warns about unused variable p, so this has to be changed anyways.
	This was replaced by:
	     	 pgd_populate(&init_mm, pgd, early_alloc(PAGE_SIZE, NUMA_NO_NODE));
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help