Re: [PATCH v5 1/3] Docs/zh_CN: Translate page_tables.rst to Simplified Chinese

From: Yanteng Si
Date: Tue Oct 15 2024 - 22:43:47 EST





在 2024/10/15 23:43, Pengyu Zhang 写道:
Hi Yanteng

+随着内存容量的增加,久而久之层级结构逐渐加深。Linux 最初使用 4KB 页面和一个名为
+`swapper_pg_dir` 的页表,该页表拥有 1024 个条目(entries),覆盖 4MB 的内存,
+事实上Torvald 的第一台计算机正好就有 4MB 物理内存。条目在这张表中被称为 *PTE*:s
+- 页表条目(page table entries)。
page table entries -> 页表项。 So:
每一个页表项在这张表中被称为 *PTE*:s

+
+软件页表层级结构反映了页表硬件已经变得分层化的事实,而这种分层化的目的是为了节省
+页表内存并加快地址映射速度。
+
+当然,人们可以想象一张拥有大量条目的单一线性的页表将整个内存分为一个个页。而且,
Hmm, let's exec %s/条目/页表项 in vim.
This translation is indeed the most confusing part for me. When 'entry' appears
on its own, I previously tended to translate it as '表项'. However, I noticed
that other Chinese documents have used '条目', so I reused their translation.
In our context, though, I believe 'page table entries' and 'entry' are better
translated as'页表项' and '表项' respectively.
Many things are chaotic in their early stages, and Chinese translations are no exception. However,
we are working to change this situation, for example:
Documentation/translations/zh_CN/glossary.rst
How about exec s/页表条目/页表项 and s/条目/表项.
I think that's OK; if you don't mind, you can go ahead and add it to the glossary.

Thank,
Yanteng


Thanks,
Pengyu