diff options
author | Binbin Zhou <zhoubinbin@loongson.cn> | 2022-06-22 12:18:47 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2022-06-24 21:15:03 +0200 |
commit | 417c434aa1b4426aff242c46a562e9e71ab14e25 (patch) | |
tree | bd21f89d54fca0023d7dc06ad0f0c817259bd774 /Documentation/translations | |
parent | docs: driver-api: gpio: Fix some typos (diff) | |
download | linux-417c434aa1b4426aff242c46a562e9e71ab14e25.tar.xz linux-417c434aa1b4426aff242c46a562e9e71ab14e25.zip |
docs/zh_CN: core-api: Update the translation of cachetlb.rst to 5.19-rc3
Synchronous translation from upstream commit 08b0b0059bf1
("mm: Add flush_dcache_folio()")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Reviewed-by: Yanteng Si<siyanteng@loongson.cn>
Reviewed-by: Wu XiangCheng <bobwxc@email.cn>
Link: https://lore.kernel.org/r/d1fe8dfa3cfc3fe38c7caf8b5cf3b3482b5bddf8.1655863769.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/translations')
-rw-r--r-- | Documentation/translations/zh_CN/core-api/cachetlb.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/translations/zh_CN/core-api/cachetlb.rst b/Documentation/translations/zh_CN/core-api/cachetlb.rst index 6fee45fe5e80..b4a76ec75daa 100644 --- a/Documentation/translations/zh_CN/core-api/cachetlb.rst +++ b/Documentation/translations/zh_CN/core-api/cachetlb.rst @@ -5,6 +5,7 @@ :翻译: 司延腾 Yanteng Si <siyanteng@loongson.cn> + 周彬彬 Binbin Zhou <zhoubinbin@loongson.cn> :校译: @@ -278,6 +279,11 @@ HyperSparc cpu就是这样一个具有这种属性的cpu。 CPU上,因为它将cpu存储到页面上,使其变脏。同样,请看 sparc64关于如何处理这个问题的例子。 + ``void flush_dcache_folio(struct folio *folio)`` + + 该函数的调用情形与flush_dcache_page()相同。它允许架构针对刷新整个 + folio页面进行优化,而不是一次刷新一页。 + ``void copy_to_user_page(struct vm_area_struct *vma, struct page *page, unsigned long user_vaddr, void *dst, void *src, int len)`` ``void copy_from_user_page(struct vm_area_struct *vma, struct page *page, |