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

From: Sergey Senozhatsky
Date: Wed Nov 04 2015 - 03:35:22 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/