[PATCH v2 0/1] UBUNTU SAUCE [aws]: improve swapoff performance

Andrea Righi andrea.righi at canonical.com
Tue Dec 17 08:58:08 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1831940

This is the v2 of the patch to improve swapoff performance on AWS
instances.

This patch has been tested with positive results and it is required to
properly support hibernation in the AWS environment..

Changes in v2:
 - removed unnecessary READ_ONCE/WRITE_ONCE in swapin_nr_pages()
   (thanks to Sultan for the review)

----------------------------------------------------------------
Andrea Righi (1):
      UBUNTU SAUCE [aws]: mm: swap: improve swap readahead heuristic

 mm/swap.c       |  2 +-
 mm/swap_state.c | 60 +++++++++---------------------------------------------------
 2 files changed, 10 insertions(+), 52 deletions(-)




More information about the kernel-team mailing list