From: Ralph Campbell <rcampbell@xxxxxxxxxx> I hit a use after free bug in hmm_free() with KASAN and then couldn't stop myself from cleaning up a bunch of documentation and coding style changes. So the first two patches are clean ups, the last three are the fixes. Ralph Campbell (5): mm/hmm: Update HMM documentation mm/hmm: Clean up some coding style and comments mm/hmm: Use mm_get_hmm() in hmm_range_register() mm/hmm: hmm_vma_fault() doesn't always call hmm_range_unregister() mm/hmm: Fix mm stale reference use in hmm_free() Documentation/vm/hmm.rst | 139 ++++++++++++++++++----------------- include/linux/hmm.h | 84 ++++++++++------------ mm/hmm.c | 151 ++++++++++++++++----------------------- 3 files changed, 174 insertions(+), 200 deletions(-) -- 2.20.1