Posted this small series out to rework zap_details a bit, before adding something new in. Hopefully it makes things slighly clearer. Smoke test only. Please have a look, thanks. Peter Xu (3): mm: Drop first_index/last_index in zap_details mm: Introduce zap_details.zap_flags mm: Introduce ZAP_FLAG_SKIP_SWAP include/linux/mm.h | 33 ++++++++++++++++++++++++--- mm/memory.c | 57 ++++++++++++++++++---------------------------- 2 files changed, 52 insertions(+), 38 deletions(-) -- 2.26.2