Skip to content

make try_to_unmap simple

Minchan Kim linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 8 repliesIn review 8 of 10 applied
  2. v110 patches 5 repliesSuperseded

Patches in v2 8 of 10 applied

#Subject and filesSizeRepliesApplied
1/10mm: remove unncessary ret in page_referencedmm/rmap.c+1 -20 repliesApplied
2/10mm: remove SWAP_DIRTY in ttuinclude/linux/rmap.h mm/rmap.c mm/vmscan.c+2 -60 repliesApplied
3/10mm: remove SWAP_MLOCK check for SWAP_SUCCESS in ttumm/rmap.c+1 -10 repliesApplied
4/10mm: make the try_to_munlock void functioninclude/linux/rmap.h mm/mlock.c mm/rmap.c+8 -173 replies
5/10mm: remove SWAP_MLOCK in ttuinclude/linux/rmap.h mm/rmap.c mm/vmscan.c+8 -160 repliesApplied
6/10mm: remove SWAP_AGAIN in ttumm/rmap.c mm/vmscan.c+3 -100 repliesApplied
7/10mm: make ttu's return booleaninclude/linux/rmap.h mm/huge_memory.c mm/memory-failure.c +2 more+21 -300 repliesApplied
8/10mm: make rmap_walk void functioninclude/linux/ksm.h include/linux/rmap.h mm/ksm.c +1 more+23 -340 repliesApplied
9/10mm: make rmap_one boolean functioninclude/linux/rmap.h mm/ksm.c mm/migrate.c +2 more+25 -210 repliesApplied
10/10mm: remove SWAP_[SUCCESS|AGAIN|FAIL]include/linux/rmap.h+0 -75 replies

Reviews trailers per patch

3 of 10 patches have a Reviewed-by or Acked-by.

PatchHillf DantonKirill A. ShutemovVlastimil Babka
1/10A-b A-b
2/10A-b A-b
3/10
4/10A-b A-b
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/10] make try_to_unmap simple

Currently, try_to_unmap returns various return value(SWAP_SUCCESS, SWAP_FAIL, SWAP_AGAIN, SWAP_DIRTY and SWAP_MLOCK). When I look into that, it's unncessary complicated so this patch aims for cleaning it up. Change ttu to boolean function so we can remove SWAP_AGAIN, SWAP_DIRTY, SWAP_MLOCK.

* from v1
* add some acked-by
* add description about rmap_one's return - Andrew

* from RFC
- http://lkml.kernel.org/r/[email protected]
* Remove RFC tag
* add acked-by to some patches
* some of minor fixes
* based on mmotm-2017-03-09-16-19.

Minchan Kim (10):
mm: remove unncessary ret in page_referenced
mm: remove SWAP_DIRTY in ttu
mm: remove SWAP_MLOCK check for SWAP_SUCCESS in ttu
mm: make the try_to_munlock void function
mm: remove SWAP_MLOCK in ttu
mm: remove SWAP_AGAIN in ttu
mm: make ttu's return boolean
mm: make rmap_walk void function
mm: make rmap_one boolean function
mm: remove SWAP_[SUCCESS|AGAIN|FAIL]

 include/linux/ksm.h  |  5 ++-
 include/linux/rmap.h | 25 ++++++--------
 mm/huge_memory.c     |  6 ++--
 mm/ksm.c             | 16 ++++-----
 mm/memory-failure.c  | 26 +++++++-------
 mm/migrate.c         |  4 +--
 mm/mlock.c           |  6 ++--
 mm/page_idle.c       |  4 +--
 mm/rmap.c            | 98 ++++++++++++++++++++--------------------------------
 mm/vmscan.c          | 32 +++++------------
 10 files changed, 85 insertions(+), 137 deletions(-)
Signature · 7 lines
2.7.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>