Re: Hackbench pipes regression bisected to PSI

From: Johannes Weiner
Date: Tue Nov 27 2018 - 11:53:36 EST


On Tue, Nov 27, 2018 at 11:46:17AM -0500, Johannes Weiner wrote:
> From 347b69a52d1ec7e71df1108cbc5703d6dd0616ba Mon Sep 17 00:00:00 2001
> From: Johannes Weiner <hannes@xxxxxxxxxxx>
> Date: Mon, 26 Nov 2018 09:39:23 -0500
> Subject: [PATCH] psi: make disabling/enabling easier for vendor kernels
>
> Mel Gorman reports a hackbench regression with psi that would prohibit
> shipping the suse kernel with it default-enabled, but he'd still like
> users to be able to opt in at little to no cost to others.
>
> With the current combination of CONFIG_PSI and the psi_disabled bool
> set from the commandline, this is a challenge. Do the following things
> to make it easier:
>
> 1. Add a config option CONFIG_PSI_DEFAULT_ENABLED that allows distros

This should be: CONFIG_PSI_DEFAULT_DISABLED

Refreshed the patch.

---