The primary idea here is that a large part of the overhead in dealing
with individual pages is that there's just so darned many of them.
We would be better off dealing with fewer, larger pages, even if they
don't get to be the size necessary for the CPU to use a larger TLB entry.
The approach taken is to make THPs support arbitrary power-of-two sizes
(instead of just PMDs). There's probably some tuning to be done to decide
what sizes are worth using, but we're a fair way from doing performance
work with this patchset yet.
Link:https://patchwork.kernel.org/project/linux-mm/cover/20200610201345.13273-1-willy@infradead.org/
Hey c868aef3c2e1, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
该特性没还有完全进入主线,作者分多个补丁集提交补丁,在linux-5.10版本已经合入的部分包括:
Link: https://patchwork.kernel.org/project/linux-mm/cover/20200629151959.15779-1-willy@infradead.org/
Link: https://patchwork.kernel.org/project/linux-mm/cover/20200709202117.7216-1-willy@infradead.org/
Link: https://patchwork.kernel.org/project/linux-mm/cover/20200903183029.14930-1-willy@infradead.org/
Link: https://patchwork.kernel.org/project/linux-mm/cover/20200910183318.20139-1-willy@infradead.org/
Link: https://patchwork.kernel.org/project/linux-mm/cover/20200908195539.25896-1-willy@infradead.org/
在v5.10-v5.13之间合入的部分包括:
Link: https://patchwork.kernel.org/project/linux-mm/patch/20201124041507.28996-1-willy@infradead.org/
Link: https://patchwork.kernel.org/project/linux-mm/patch/87v9ab60r4.fsf@mail.parknet.co.jp/
"mm/truncate,shmem: Handle truncates that split THPs" and "mm/filemap:
Return only head pages from find_get_entries" were dropped.
Link: https://patchwork.kernel.org/project/linux-mm/cover/20201112212641.27837-1-willy@infradead.org/
Link: https://patchwork.kernel.org/project/linux-mm/patch/20201124041507.28996-1-willy@infradead.org/
Link: https://patchwork.kernel.org/project/linux-mm/cover/20201026151849.24232-1-willy@infradead.org/
Link: https://patchwork.kernel.org/project/linux-mm/patch/20210505013257.HZsCu951B%25akpm@linux-foundation.org/
在linux-5.13前未合入主线的部分包括:
Link: https://patchwork.kernel.org/project/linux-mm/cover/20201026183136.10404-1-willy@infradead.org/
Link: https://patchwork.kernel.org/project/linux-mm/cover/20201014030357.21898-1-willy@infradead.org/
Link: https://patchwork.kernel.org/project/linux-mm/cover/20201029193405.29125-1-willy@infradead.org/
openEuler-21.09分支合入如下相关补丁:
1ccdc3b1037e mm/swap: remove unused local variable nr_shadows
f54e280e16c2 mm: remove nrexceptional from inode: remove BUG_ON
3d386417da7a mm: remove nrexceptional from inode
3b7ac86c0c9f dax: account DAX entries as nrpages
8d708d9696a6 mm: stop accounting shadow entries
32adb099691a mm: introduce and use mapping_empty()
89ff6f658687 mm/filemap: fix find_lock_entries hang on 32-bit THP
7905ab1ef1eb mm/filemap: fix mapping_seek_hole_data on THP & 32-bit
113b9fab6429 mm/highmem.c: fix zero_user_segments() with start > end
9d5aaa7420d0 mm: remove pagevec_lookup_entries
80fc276401c1 mm: pass pvec directly to find_get_entries
5d8a14acf6ee mm: remove nr_entries parameter from pagevec_lookup_entries
743b4942cfc7 mm: add an 'end' parameter to pagevec_lookup_entries
28dc4ba58e32 mm: add an 'end' parameter to find_get_entries
b7d92f96573d mm: add and use find_lock_entries
9c8b830f798d iomap: use mapping_seek_hole_data
84bab37d7944 mm/filemap: add mapping_seek_hole_data
3cfcbf71e973 mm/filemap: add helper for finding pages
42e0716903d8 mm/filemap: rename find_get_entry to mapping_get_entry
ef13dbde3a2b mm: add FGP_ENTRY
06d753b4fcb8 mm/swap: optimise get_shadow_from_swap_cache
f420d06b6df4 mm/shmem: use pagevec_lookup in shmem_unlock_mapping
7e09c6741e58 mm: make pagecache tagged lookups return only head pages
4780bfa80304 mm: support THPs in zero_user_segments
登录 后才可以发表评论