Skip to content

thp: optimize use of khugepaged_mutex and dependence of CONFIG_NUMA

Xiao Guangrong linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12thp: fix the count of THP_COLLAPSE_ALLOCmm/huge_memory.c+1 -11 reply
2/12thp: remove unnecessary check in start_khugepagedmm/huge_memory.c+2 -50 replies
3/12thp: move khugepaged_mutex out of khugepagedmm/huge_memory.c+13 -230 replies
4/12thp: remove unnecessary khugepaged_thread checkmm/huge_memory.c+1 -40 replies
5/12thp: remove wake_up_interruptible in the exit pathmm/huge_memory.c+21 -140 replies
6/12thp: remove some code depend on CONFIG_NUMAmm/huge_memory.c+3 -70 replies
7/12thp: merge page pre-alloc in khugepaged_loop into khugepaged_do_scanmm/huge_memory.c+45 -520 replies
8/12thp: release page in page pre-alloc pathmm/huge_memory.c+7 -120 replies
9/12thp: introduce khugepaged_prealloc_page and khugepaged_alloc_pagemm/huge_memory.c+98 -686 replies
10/12thp: remove khugepaged_loopmm/huge_memory.c+4 -100 replies
11/12thp: use khugepaged_enabled to remove duplicate codemm/huge_memory.c+2 -90 replies
12/12thp: remove unnecessary set_recommended_min_free_kbytesmm/huge_memory.c+0 -50 replies

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchKirill A. Shutemov
1/12A-b
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

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 00/12] thp: optimize use of khugepaged_mutex and dependence of CONFIG_NUMA

khugepaged_mutex is used very complexly and there are too many small pieces of the code depend on CONFIG_NUMA, they make the code very hardly understand

This patchset try to optimize use of khugepaged_mutex and reduce dependence of CONFIG_NUMA, after the patchset, the code is more readable

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