Thread (11 messages) flat view 11 messages, 6 authors, 2018-04-10

Re: [PATCH 0/3] move __HAVE_ARCH_PTE_SPECIAL in Kconfig

From: Laurent Dufour <hidden>
Date: 2018-04-09 16:17:32
Also in: linux-arm-kernel, linux-mm, linux-riscv, linux-sh, linuxppc-dev, lkml, sparclinux

On 09/04/2018 18:03, Vineet Gupta wrote:
On 04/09/2018 06:57 AM, Laurent Dufour wrote:
quoted
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...
I don't want it to be de-configurable. This is almost like
ARCH_SUPPORTS_MEMORY_FAILURE, ARCH_USES_HIGH_VMA_FLAGS, ARCH_HAS_HMM...

These values are selected by per architecture Kconfig files and are not exposed
through the configuration menu.

Concerning making something depend on it, I will probably make
CONFIG_SPECULATIVE_PAGE_FAULT introduced by the SPF series dependent on it.
For details, please see https://lkml.org/lkml/2018/3/13/1143

Thanks,
Laurent.

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help