Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

From: Maciej W. Rozycki
Date: Sat Aug 22 2020 - 10:00:54 EST


On Sat, 22 Aug 2020, Paul Cercueil wrote:

> > Well, run-time patching might be an alternative to get the best of both
> > worlds, but someone would have to reimplement our feature selection system
> > to use it.
>
> Would run-time patching allow to drop dead code?

I don't know offhand. In principle it should be doable like with init
sections, but that requires out of line code, so there'd still be some
performance hit compared to a kernel configuration dedicated to a single
platform.

Maciej