Re: [PATCH] memcg, vmscan: Do not wait for writeback if killed

From: Andrew Morton
Date: Fri Dec 04 2015 - 20:03:22 EST


On Thu, 3 Dec 2015 10:08:26 +0100 Michal Hocko <mhocko@xxxxxxxxxx> wrote:

> So you think a comment would be sufficient?
> ---
> diff --git a/mm/vmscan.c b/mm/vmscan.c
> index 98a1934493af..2e8ee9e5fcb5 100644
> --- a/mm/vmscan.c
> +++ b/mm/vmscan.c
> @@ -1031,9 +1031,12 @@ static unsigned long shrink_page_list(struct list_head *page_list,
> /*
> * We've got killed while waiting here so
> * expedite our way out from the reclaim
> + *
> + * Our callers should make sure we do not
> + * get here with fatal signals again.
> */

Seems OK. s/should/must/

Please resend it all after the usual exhaustive testing ;)
--
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/