On Thu, May 12, 2016 at 10:34:39PM +0200, Rafael J. Wysocki wrote:
That said my understanding is that the goal is to eventually deprecate the non-sched governors. That will be made harder by adding another one into the tree.
We can't really deprecate any out-of-the-tree code, because it is beyond the scope of our influence, so one can argue that taking it into the tree may actually allow us to deprecate it at one point going forward. :-)
Seriously, though, "deprecation" may not be the right term to use here. Our goal, IMO, should be to persuade the users of the code in question to switch over to something else and I'm not really sure if refusing to take that code into the tree is the best way to achieve that goal.
I do believe that if there's a significant piece of code living out of the tree for a sufficiently long time, the tree is likely to be missing something important. Then, it is really difficult to figure out what is missing without even trying to take that code into the tree.
By far the biggest user of interactive is Android (I'm not aware of its use elsewhere). Persuading Google to switch is relatively doable once a viable alternative exists. After that point I'd expect the desire to merge and maintain interactive would almost immediately disappear. Folks wanting to run upstream kernels on already released devices have much bigger hurdles than merging the interactive governor.
But if interactive is merged I'm worried that many other users on random platforms will adopt it, for whatever reason, introducing a support burden during a time that we're trying to develop and encourage an alternative.
Anyway that's just my $.02 - it'd actually be good for me as again it'd permit easier comparison with schedutil, so I won't complain if it goes in :) .