Skip to content

Commit

Permalink
Revert "UBUNTU: SAUCE: mm: disable vma based swap readahead by default"
Browse files Browse the repository at this point in the history
This change was to fix an ADT failure. Revert the patch to run a
kernel through testing so we can see if the failure is still an
issue.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
  • Loading branch information
Seth Forshee committed Jan 29, 2018
1 parent 7c26ca2 commit d5e829c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/swap_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static const struct address_space_operations swap_aops = {

struct address_space *swapper_spaces[MAX_SWAPFILES] __read_mostly;
static unsigned int nr_swapper_spaces[MAX_SWAPFILES] __read_mostly;
bool swap_vma_readahead __read_mostly = false;
bool swap_vma_readahead __read_mostly = true;

#define SWAP_RA_WIN_SHIFT (PAGE_SHIFT / 2)
#define SWAP_RA_HITS_MASK ((1UL << SWAP_RA_WIN_SHIFT) - 1)
Expand Down

0 comments on commit d5e829c

Please sign in to comment.