Alex Shi <seakeel@xxxxxxxxx> 于2021年8月24日周二 下午5:15写道: > > On Wed, Aug 18, 2021 at 4:32 PM Yanteng Si <siyanteng@xxxxxxxxxxx> wrote: > > > > Translate Documentation/core-api/gfp_mask-from-fs-io.rst into Chinese. > > > > Signed-off-by: Yanteng Si <siyanteng@xxxxxxxxxxx> > > --- > > .../zh_CN/core-api/gfp_mask-from-fs-io.rst | 66 +++++++++++++++++++ > > .../translations/zh_CN/core-api/index.rst | 2 +- > > 2 files changed, 67 insertions(+), 1 deletion(-) > > create mode 100644 Documentation/translations/zh_CN/core-api/gfp_mask-from-fs-io.rst > > > > diff --git a/Documentation/translations/zh_CN/core-api/gfp_mask-from-fs-io.rst b/Documentation/translations/zh_CN/core-api/gfp_mask-from-fs-io.rst > > new file mode 100644 > > index 000000000000..a2b81313f7a7 > > --- /dev/null > > +++ b/Documentation/translations/zh_CN/core-api/gfp_mask-from-fs-io.rst > > @@ -0,0 +1,66 @@ > > +.. include:: ../disclaimer-zh_CN.rst > > + > > +:Original: Documentation/core-api/gfp_mask-from-fs-io.rst > > + > > +:翻译: > > + > > + 司延腾 Yanteng Si <siyanteng@xxxxxxxxxxx> > > + > > +:校译: > > + > > + > > + > > +.. _cn_core-api_gfp_mask-from-fs-io: > > + > > +============================ > > +从FS/IO上下文中使用的GFP掩码 > > +============================ > > + > > +:日期: 2018年5月 > > +:作者: Michal Hocko <mhocko@xxxxxxxxxx> > > + > > +简介 > > +==== > > + > > +文件系统和IO栈中的代码路径在分配内存时必须小心,以防止因直接调用FS或IO路径的内 > > +存回收和阻塞已经持有的资源(例如锁--最常见的是用于事务上下文的锁)而造成递归死 > > +锁。 > > ”and blocking“ here, as my understanding, is to emphasize the 'and', > so maybe the 'and' could be > translated as ‘并且’? OK! > > As to others, > Reviewed-by: Alex Shi <alexs@xxxxxxxxxx> Thank you for your review! Thanks, Yanteng