Skip to content

munlock rework

[email protected] linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3introduce __get_user_pages()mm/internal.h mm/memory.c+39 -61 reply
2/3split LRU: munlock reworkmm/mlock.c+35 -1171 reply
3/3revert to unevictable-lru-infrastructure-kconfig-fix.patchinit/Kconfig mm/Kconfig mm/Makefile+1 -71 reply

Reviews trailers per patch

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

PatchRik van Riel
1/3
2/3A-b
3/3A-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 [-mm][splitlru][PATCH 0/3] munlock rework
Signature · 30 lines
old munlock processing of unevictable-lru use pagewalk.
because get_user_pages() can't grab PROT_NONE page.

then, current -mm has two problem.
  - build error on nommu machine
  - runtime error on HIGHPTE machine.

So, I hope rework below concept

	Old implementation
	   - use pagewalk

	New implementation
	   - use __get_user_pages()


I tested this patch on
  IA64:                 >24H stress workload
  x86_64:               ditto
  x86_32 with HIGHPTE:  only half hour



Li-san, Could you please try to this patch on your 32bit machine?

--
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>