Hi Andrew,
Please consider taking these 2 patches for 4.13. I spent some time
debugging why a user's device-dax configuration was always failing and
it turned out that their thp policy was set to 'never'. DAX should be
exempt from the policy since it is statically allocated and does not
suffer from any of the potentially negative side effects of thp. More
details in patch 2.
---
Dan Williams (2):
mm: improve readability of transparent_hugepage_enabled()
mm: always enable thp for dax mappings
include/linux/dax.h | 5 -----
include/linux/fs.h | 6 ++++++
include/linux/huge_mm.h | 40 +++++++++++++++++++++++++++++-----------
3 files changed, 35 insertions(+), 16 deletions(-)