Re: Interactivity regression since v3.11 in mm/vmscan.c

From: Felipe Contreras
Date: Sat Jun 07 2014 - 11:23:59 EST


On Sat, Jun 7, 2014 at 7:35 AM, <zhdxzx@xxxxxxxx> wrote:

> Would you please try again based only on comment [1](based on v3.15-rc8)?
> thanks
> Hillf
>
> --- a/mm/vmscan.c Sat Jun 7 18:38:08 2014
> +++ b/mm/vmscan.c Sat Jun 7 20:08:36 2014
> @@ -1566,7 +1566,7 @@ shrink_inactive_list(unsigned long nr_to
> * implies that pages are cycling through the LRU faster than
> * they are written so also forcibly stall.
> */
> - if (nr_unqueued_dirty == nr_taken || nr_immediate)
> + if (nr_immediate)
> congestion_wait(BLK_RW_ASYNC, HZ/10);
> }

That actually seems to work correctly on v3.15-rc8.

--
Felipe Contreras
--
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/