[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200922020148.3261797-1-riel@surriel.com>
Date: Mon, 21 Sep 2020 22:01:46 -0400
From: Rik van Riel <riel@...riel.com>
To: linux-kernel@...r.kernel.org
Cc: linux-mm@...ck.org, kernel-team@...com, niketa@...com,
akpm@...ux-foundation.org, sjenning@...hat.com, ddstreet@...e.org,
konrad.wilk@...cle.com, hannes@...xchg.org
Subject: [PATCH 0/2] mm,swap: skip swap readahead for instant IO (like zswap)
Both with frontswap/zswap, and with some extremely fast IO devices,
swap IO will be done before the "asynchronous" swap_readpage() call
has returned.
In that case, doing swap readahead only wastes memory, increases
latency, and increases the chances of needing to evict something more
useful from memory. In that case, just skip swap readahead.
Powered by blists - more mailing lists