clean up Kconfig ontology for memory management capabilities #26161
Labels
area: Memory Management
area: Memory Protection
Enhancement
Changes/Updates/Additions to existing features
priority: low
Low impact/importance bug
Is your enhancement proposal related to a problem? Please describe.
We've accumulated a number of Kconfigs related to memory protection and memory management over the years, often added ad hoc to solve a particular problem, and it would be good to clean this up into a coherent, documented ontology.
This is a first-pass list of configs which affects memory management, memory protection, and thread stacks.
So far we have (at least):
generic arch code:
Under arch/x86:
plus an assortment of configs to mitigate or state vulnerability to various Spectre vulnerabilities
Under arch/arm:
Under soc/arm:
Under ARC:
core kernel:
debug subsystem:
Describe the solution you'd like
A lot of these are probably fine.
But I'd like to consider addressing the following:
ARM_
, x86 withX86_
, etcARCH_HAS_
namespace, which indicates that the arch supports something (but doesn't necessarily have it turned on). In some cases we useCPU_HAS_
and I don't think there's much of a distinctionselect
necessary optionsIn general, it would be good to have some holistic attention paid to this, it's grown like a fungus.
The text was updated successfully, but these errors were encountered: