提交 929f9d28 编写于 作者: S SeongJae Park 提交者: Linus Torvalds

Documentation/vm/transhuge.txt: fix trivial typos

[akpm@linux-foundation.org: fixes per Randy]
Link: http://lkml.kernel.org/r/20170405210259.2067-1-sj38.park@gmail.comSigned-off-by: NSeongJae Park <sj38.park@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 c718a975
...@@ -292,7 +292,7 @@ thp_collapse_alloc_failed is incremented if khugepaged found a range ...@@ -292,7 +292,7 @@ thp_collapse_alloc_failed is incremented if khugepaged found a range
the allocation. the allocation.
thp_file_alloc is incremented every time a file huge page is successfully thp_file_alloc is incremented every time a file huge page is successfully
i allocated. allocated.
thp_file_mapped is incremented every time a file huge page is mapped into thp_file_mapped is incremented every time a file huge page is mapped into
user address space. user address space.
...@@ -519,8 +519,8 @@ comes. Splitting will free up unused subpages. ...@@ -519,8 +519,8 @@ comes. Splitting will free up unused subpages.
Splitting the page right away is not an option due to locking context in Splitting the page right away is not an option due to locking context in
the place where we can detect partial unmap. It's also might be the place where we can detect partial unmap. It's also might be
counterproductive since in many cases partial unmap unmap happens during counterproductive since in many cases partial unmap happens during exit(2) if
exit(2) if an THP crosses VMA boundary. a THP crosses a VMA boundary.
Function deferred_split_huge_page() is used to queue page for splitting. Function deferred_split_huge_page() is used to queue page for splitting.
The splitting itself will happen when we get memory pressure via shrinker The splitting itself will happen when we get memory pressure via shrinker
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册