Re: [-mm][PATCH 1/5] fix overflow problem of do_try_to_free_page()

From: Nishanth Aravamudan
Date: Mon May 05 2008 - 04:13:18 EST


On 04.05.2008 [21:55:57 +0900], KOSAKI Motohiro wrote:
> this patch is not part of reclaim throttle series.
> it is merely hotfixs.
>
> ---------------------------------------
> "Smarter retry of costly-order allocations" patch series change
> behaver of do_try_to_free_pages().
> but unfortunately ret variable type unchanged.
>
> thus, overflow problem is possible.
>
>
>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
> CC: Nishanth Aravamudan <nacc@xxxxxxxxxx>

Eep, sorry -- my original version had used -EAGAIN to indicate a special
condition, but this was removed before the final patch. Thanks for the
catch.

Acked-by: Nishanth Aravamudan <nacc@xxxxxxxxxx>

Should go upstream, as well.

Thanks,
Nish

--
Nishanth Aravamudan <nacc@xxxxxxxxxx>
IBM Linux Technology Center
--
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/