Skip to content

mm/hmm: HMM documentation updates and code fixes

[email protected] linux-mm lkml 1 version Applied

Status from this message: I applied it to hmm.git

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 32 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5mm/hmm: Update HMM documentationDocumentation/vm/hmm.rst+73 -663 replies
2/5mm/hmm: Clean up some coding style and commentsinclude/linux/hmm.h mm/hmm.c+62 -608 replies
3/5mm/hmm: Use mm_get_hmm() in hmm_range_register()mm/hmm.c+1 -13 replies
4/5mm/hmm: hmm_vma_fault() doesn't always call hmm_range_unregister()include/linux/hmm.h+2 -110 replies
5/5mm/hmm: Fix mm stale reference use in hmm_free()include/linux/hmm.h mm/hmm.c+37 -734 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] mm/hmm: HMM documentation updates and code fixes

From: Ralph Campbell <[email protected]>

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(-)
Signature · 1 line
2.20.1