Skip to content

mm/madvise: cleanup requests validations and classifications

SeongJae Park linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] mm-madvise-remove-len-parameter-of-madvise_do_behavior.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4mm/madvise: use is_memory_failure() from madvise_do_behavior()mm/madvise.c+27 -221 replyApplied
2/4mm/madvise: split out populate behavior check logicmm/madvise.c+13 -71 replyApplied
3/4mm/madvise: deduplicate madvise_do_behavior() skip case handlingsmm/madvise.c+34 -231 replyApplied
4/4mm/madvise: remove len parameter of madvise_do_behavior()mm/madvise.c+4 -61 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchLorenzo StoakesShakeel Butt
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] mm/madvise: cleanup requests validations and classifications

Cleanup madvise entry level code for cleaner request validations and classifications.

Note that this series was a part of another one[1], and separated to this one following a reviewer's nice comment[2].

Changes from the original series
(https://lore.kernel.org/[email protected])
- Separate from the tlb flushes batching part
- Collect Reviewed-by: tags from Lorenzo
- Fix typos and wordsmith commit messages and comments
- Rebase on latest mm-unstable

[1] https://lore.kernel.org/[email protected]
[2] https://lore.kernel.org/[email protected]

SeongJae Park (4):
mm/madvise: use is_memory_failure() from madvise_do_behavior() mm/madvise: split out populate behavior check logic mm/madvise: deduplicate madvise_do_behavior() skip case handlings mm/madvise: remove len parameter of madvise_do_behavior()

 mm/madvise.c | 128 +++++++++++++++++++++++++++++----------------------
 1 file changed, 74 insertions(+), 54 deletions(-)

base-commit: 733c75c2264b9de72a463f731507e674a32ff094

Signature · 1 line
2.39.5