On 04/09/2018 06:57 AM, Laurent Dufour wrote:
The per architecture __HAVE_ARCH_PTE_SPECIAL is defined statically in the per architecture header files. This doesn't allow to make other configuration dependent on it.
So I understand this series has more "readability" value and I'm fine with this change but I wonder if you really would want to make something depend on it or make this de-configurable. PTE special is really a fundamental construct - e.g. it is used for anon mapped pages where zero page has been wired up etc...
This series is moving the __HAVE_ARCH_PTE_SPECIAL into the Kconfig files, setting it automatically when architectures was already setting it in header file. There is no functional change introduced by this series.