This experimental feature has had a few bugs, but it has enough of a performance effect that customers are actually asking for it to be enabled. So we should apply this upstream bugfix that needs a little massaging to backport. The first three patches enable the fix in the fourth patch. I've run the XArray test-suite after applying these patches, and it continues to pass. Matthew Wilcox (Oracle) (4): mm: add thp_order XArray: add xa_get_order XArray: add xas_split mm/filemap: fix storing to a THP shadow entry Documentation/core-api/xarray.rst | 16 ++- include/linux/huge_mm.h | 19 +++ include/linux/xarray.h | 22 ++++ lib/test_xarray.c | 65 ++++++++++ lib/xarray.c | 208 ++++++++++++++++++++++++++++-- mm/filemap.c | 37 ++++-- 6 files changed, 342 insertions(+), 25 deletions(-) -- 2.30.2