mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
docs/zh_CN: core-api: Update the translation of cachetlb.rst to 5.19-rc3
Synchronous translation from upstream commit 08b0b0059b
("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>
This commit is contained in:
parent
f9b21cd086
commit
417c434aa1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user