Re: [PATCH] mm: change tlb_finish_mmu() to be more simple

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Nov 4, 2015, at 16:36, Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx> wrote:
> 
> On (11/04/15 15:35), yalin wang wrote:
> [..]
>> 
>> -	for (batch = tlb->local.next; batch; batch = next) {
>> -		next = batch->next;
>> +	for (batch = tlb->local.next; batch; batch = batch->next)
>> 		free_pages((unsigned long)batch, 0);
> 
> accessing `batch->next' after calling free_pages() on `batch'?
> 
> 		-ss
oh,  my mistake, my code is buggy here .

Thanks
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]