Re: [PATCH 01/14] vmscan: Fix mapping use after free

From: Minchan Kim
Date: Tue Jun 29 2010 - 10:27:14 EST


On Tue, Jun 29, 2010 at 8:34 PM, Mel Gorman <mel@xxxxxxxxx> wrote:
> From: Nick Piggin <npiggin@xxxxxxx>
>
> Use lock_page_nosync in handle_write_error as after writepage we have no
> reference to the mapping when taking the page lock.
>
> Signed-off-by: Nick Piggin <npiggin@xxxxxxx>
> Signed-off-by: Mel Gorman <mel@xxxxxxxxx>

Trivial.
Please modify description of the function if you have a next turn.
"run sleeping lock_page()" -> "run sleeping lock_page_nosync"


--
Kind regards,
Minchan Kim
--
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/